Example #1
0
 /// <summary>
 ///     Ctor.
 /// </summary>
 /// <param name="roles"></param>
 /// <param name="userCreateCommand"></param>
 /// <param name="userGroups"></param>
 /// <param name="proposedUser"></param>
 public UserCreateViewModel(IList <string> roles, UserCreateCommand userCreateCommand, IList <Core.Domain.Users.UserGroup> userGroups,
                            Core.Domain.ProposedUsers.ProposedUser proposedUser = null)
 {
     Roles             = roles;
     UserCreateCommand = userCreateCommand;
     ProposedUser      = proposedUser;
     UserGroups        = userGroups;
 }
Example #2
0
 /// <summary>
 ///     Ctor.
 /// </summary>
 public UserCreateViewModel()
 {
     UserCreateCommand = new UserCreateCommand();
 }