Closed toeb closed 9 years ago
Agreed. Can we return something like a 'readonly' view, where a modification of data is not saved next time we modified something else? Ideally, it should still be an IQueryable, so if the view only needs small parts of data, there is no need to query the database for whole list.
Instead of accessing the Repositories (datalayer) directly the frontend should also use a command to query the business layer which queries the data layer
this allows implementing privileges for views / not showing inactive accounts, etc