I need some help with the following case:
- ProductKeyword (only ID's)
Each product can have one or more keywords and vice versa.
So I have a many-to-many solution. What I want is the following:
On my webpage I want to select one or more keywords. When I click 'Search', I need a result of product items which all match the selected keywords.
This is the code based on one keyword:
/// Search for products
/// <param name="itemsPerPage"></param>
max, List<Keyword> filter,
// FILTER ON KEYWORDS
var items = context.Products.Where(x => x.Visible ==
totalitems = items.Count();
items.Where(x => x.Visible ==
How can I do this?