Where to convert business model to view model?
Repositories should return domain models, not view models. As far as the mapping between the models and the view models is concerned, personally I use AutoMapper so I have a separate mapping layer but this layer is called from the controller. Here’s how a typical GET controller action might look like: public ActionResult Foo(int id) … Read more