private async Task <List <ProfileVM> > GetProfileViewModels(List <Guid> ids) { var filterOperation = await _profileBO.FilterAsync(x => ids.Contains(x.Id)); var profileList = new List <ProfileVM>(); foreach (var item in filterOperation.Result) { profileList.Add(ProfileVM.Parse(item)); } return(profileList); }