entity framework .net core to filter sub list inside list c# code example
Example: c# linq get list of objects based on another list
var filtered = listOfAllVenuses
.Where(x=>!listOfBlockedVenues.Any(y=>y.VenueId == x.Id));
var filtered = listOfAllVenuses
.Where(x=>!listOfBlockedVenues.Any(y=>y.VenueId == x.Id));