阅读背景:

使用ViewModel和对System.Web.Mvc的引用是否违反了MVC模式?

来源:互联网 

I've seen it all over SO, blogs, and books, where the authors tell you add ViewModels specific to your View in your Model projects as wrappers for your underlying model objects. The idea is to make it very simple and targeted when you go to do model binding to the View. Here is a good example: I've seen it all over SO, blogs, and books, whe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: