Hello
I have an mvc-page that lists categories, and I would like to have it to count the number of products per category. It's IQueryable.
<% foreach (var item in Model.Categories) { %>
.....
<td><%: item.CategoryName %></td>
<td><%: item.Products.Count() %></td>
It lists: 5 5
Instead of: 3 2
Any Ideas how I can "partition" it per category?
/M