getting list of ids c# clean architecture code example
Example: how to query items with any id in a list of ids linq c#
var userProfiles = _dataContext.UserProfile
.Where(t => idList.Contains(t.Id));
var userProfiles = _dataContext.UserProfile
.Where(t => idList.Contains(t.Id));