I have entities: Documents, Category, DocList
Documents and DocumentList can have multiple categories selected.
I want to make filter for Documents that are in one or more categories.
// all documents
var items = AsDynamic(App.Query["DocList"]["AllDocs"]);
// categories for filter
var fcat = Content.Category;
//linq query??
items = items.Where(d=>d.Category ....????....);
Can and how I can make this kind of filter?
Content.Category is list of Categories.
So I want to show list of items if there are in any of categories, not only one
something like this: linq where list contains any in list