/// <summary> /// /// </summary> /// <returns></returns> public Task <IEnumerable <UserGroupPoco> > GetUserGroupsAsync() { IEnumerable <UserGroupPoco> result = _repo.GetUserGroups(); return(Task.FromResult(result.Where(r => !r.Deleted))); }