I have a expression which is returning me Ids:
var UserNotificationIds = _notificationBidderRepos.All(u => u.BidderId == BidderId).Select(n =>n.BidderId);
var AllNotifications = _notificationRepos.All(n => n.ExpiresAt > DateTime.UtcNow).ToList();
If it is selecting based off of 1 id
selectAll.where(x => x.id == varId)
If you pass in multiple ids then you need to use .Contains().
selectAll.where(x => idList.contains(x.id))