Changeset 15632 for branches/2877_HiveImprovements/HeuristicLab.Clients.Access.Administration/3.3/AccessAdministrationClient.cs
- Timestamp:
- 01/19/18 03:29:24 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2877_HiveImprovements/HeuristicLab.Clients.Access.Administration/3.3/AccessAdministrationClient.cs
r15583 r15632 21 21 22 22 using System; 23 using System.Linq; 23 24 using HeuristicLab.Clients.Common; 24 25 using HeuristicLab.Common; … … 53 54 public void RefreshUsers() { 54 55 users = new ItemList<User>(); 55 users.AddRange(CallAccessService<ItemList<User>>(s => new ItemList<User>(s.GetAllUsers() )));56 users.AddRange(CallAccessService<ItemList<User>>(s => new ItemList<User>(s.GetAllUsers().OrderBy(x => x.UserName)))); 56 57 } 57 58 … … 62 63 public void RefreshUserGroups() { 63 64 Groups = new ItemList<UserGroup>(); 64 Groups.AddRange(CallAccessService<ItemList<UserGroup>>(s => new ItemList<UserGroup>(s.GetAllUserGroups() )));65 Groups.AddRange(CallAccessService<ItemList<UserGroup>>(s => new ItemList<UserGroup>(s.GetAllUserGroups().OrderBy(x => x.Name)))); 65 66 } 66 67 … … 71 72 public void RefreshRoles() { 72 73 Roles = new ItemList<Role>(); 73 Roles.AddRange(CallAccessService<ItemList<Role>>(s => new ItemList<Role>(s.GetRoles() )));74 Roles.AddRange(CallAccessService<ItemList<Role>>(s => new ItemList<Role>(s.GetRoles().OrderBy(x => x.Name)))); 74 75 } 75 76
Note: See TracChangeset
for help on using the changeset viewer.