I am having the below line of code to filter a list
items = ctx.listName.ToList().FindAll(x=>x.LocationId= locationId); //int locationId passed as parameter
Now, instead of having just one location (locationId), is there a way to have multiple locations and use them in the query?
Like instead of int locationId can we use List<int> locations and have something like this
items = ctx.listName.ToList().FindAll(x=>x.LocationId in locations)