If you have a business rule where the first 30 items in table will never be seen by the user (or UI) should you put this filter in the Repository's GetAll()? Meaning, would the repository handle filtering of data, molding of data to hand back to the caller like a ViewModel or Controller? I've heard that Models should be thick, and controllers/vms should be light.
The issue I'm running into is another developer who is sharing a project with me made all of his repositories (one per table) simply all use the same implementation that simply copies properties of a LinqToSql type to a domain type. There's no logic in the repository itself other than updating and deleting or getting data by a Func supplied.
I on the other hand created a repository (that inherited from IRepository of T) for each table and put specific logic in some (not all) where I felt logic was needed to hand back the domain objects.
So in my case, business logic could be done in the repository, in his case it has to be done by the user which could be a service or the ViewModel directly. Which is more preferred?