Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/01/16 16:34:14 (9 years ago)
Author:
jlodewyc
Message:

#2582 User delete, subscriptions. Groups add, delete, edit, add members

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/ViewModels/User/UserViewModel.cs

    r13741 r13742  
    1717
    1818        public Access.User SelectedUser { get; set; }
     19        public List<Access.UserGroup> SelectedUserSubscriptions { get; set; }
     20        public Access.UserGroup SelectedGroup { get; set; }
     21        public List<Access.UserGroupBase> SelectedGroupMembers { get; set; }
    1922
    2023        public UserViewModel(AccessAdministrationClient ac)
     
    2326            accessClient = ac;
    2427            SelectedUser = new Access.User();
     28            SelectedGroup = new Access.UserGroup();
     29            SelectedUserSubscriptions = new List<Access.UserGroup>();
     30            SelectedGroupMembers = new List<Access.UserGroupBase>();
     31           
    2532           
    2633        }
     
    4754            return users.Find(x => x.Id == id);
    4855        }
     56        public Access.UserGroup getGroupById(Guid id)
     57        {
     58            return ugroups.Find(x => x.Id == id);
     59        }
    4960    }
    5061}
Note: See TracChangeset for help on using the changeset viewer.