I have an ASP.NET MVC3 in C# and Razor. The architecture of the application is divided in Data Access Layer (EF classes + Repository), Service Layer, Controller, ViewModels and View.
My ViewModel exposes a method Fill
which accepts as parameter the data collection to display in the View. In order not to have coupling between the components, the Fill
method has to be called from the Service Layer or from the Controller?