public Task <IEnumerable <UserGroupPoco> > GetUserGroupsAsync() { List <UserGroupPoco> result = repo.UserGroups(); return(Task.FromResult(result.Where(r => !r.Deleted))); }