Changeset 7640
- Timestamp:
- 03/20/12 14:01:43 (13 years ago)
- Location:
- branches/ClientUserManagement
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClientUserManagement/HeuristicLab.Clients.Access.Administration/3.3/Views/UserGroupView.cs
r7639 r7640 63 63 private void storeButton_Click(object sender, EventArgs e) { 64 64 Action storeAction = new Action(delegate { 65 foreach (var ug in refreshableLightweightUserView.Get CheckedUsers()) {65 foreach (var ug in refreshableLightweightUserView.GetAddedUsers()) { 66 66 AccessAdministrationClient.CallAccessService(s => s.AddUserGroupBaseToGroup(ug, Content)); 67 67 } -
branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/UserViews/RefreshableLightweightUserView.cs
r7639 r7640 93 93 94 94 public IItemList<UserGroupBase> GetCheckedUsers() { 95 return (lightweightUserView.Content == null) ? null : lightweightUserView.Content; 96 } 97 98 public IItemList<UserGroupBase> GetAddedUsers() { 95 99 return (lightweightUserView.Content == null) ? null : new ItemList<UserGroupBase>(lightweightUserView.Content.Where(x => !selectedUsers.Contains(x.Id))); 96 100 }
Note: See TracChangeset
for help on using the changeset viewer.