toeb / accounting

3 stars 0 forks source link

List Accounts Command #27

Closed toeb closed 9 years ago

toeb commented 9 years ago

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

matthiaszoellner commented 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.