linq wobei ID in der Liste
var result = _dataContext.table.Where(x => idList.Contains(x.Id));
Chris PA
var result = _dataContext.table.Where(x => idList.Contains(x.Id));
var userProfiles = _dataContext.UserProfile
.Where(t => idList.Contains(t.Id));