コード例 #1
0
 public IEnumerable <UserGroup> GetBindableUserGroups()
 {
     return(UserGroupRepository.GetAllGroups().Where(g => !g.IsReadOnly).ToArray());
 }
コード例 #2
0
 public IEnumerable <UserGroup> GetUserGroups(IEnumerable <int> ids)
 {
     return(UserGroupRepository.GetAllGroups().Where(g => ids.Contains(g.Id)).ToArray());
 }
コード例 #3
0
ファイル: UserGroupService.cs プロジェクト: AuthorProxy/QP
 public IEnumerable <UserGroup> GetAllGroups() => UserGroupRepository.GetAllGroups();