filter by list of ids in linq code example
Example: filter by list of ids in linq
var userProfiles = _dataContext.UserProfile
.Where(t => idList.Contains(t.Id));
var userProfiles = _dataContext.UserProfile
.Where(t => idList.Contains(t.Id));