Logic isn't allowed in the view, but i wonder if it is accepted to use a LINQ in your view.
For example: If I have a view which renders the players of a team. In the sidebar of the same view I have a widget which renders the topscorers or something. Can I use the same player collection and use a LINQ to get the top 5 players with the most goals?
I'm not looking for a solution. I know it is possible with LINQ, but does it follow coding guidelines(best practices)?
Update: My application was simple at a first glance. So I thought i could use my DomainModels(Entities) as models for my view. I now completely separated my DomainModels and use a builder to create my view models. All linq logic is now moved from view to builder, much cleaner.