public UserAdministration AddAdministered(Guid subordinateId, RoleEnum role) { UserAdministration administration = new UserAdministration(Id, subordinateId, role); Personnel.Add(administration); return(administration); }
public UserAdministration AddAdministrator(Guid superiorId, RoleEnum role) { UserAdministration administration = new UserAdministration(superiorId, Id, role); Administrators.Add(administration); return(administration); }
public UserAdministration RemoveAdministered(UserAdministration administration) { Personnel.Remove(administration); return(administration); }
public UserAdministration AddAdministered(UserAdministration administration) { Personnel.Add(administration); return(administration); }
public UserAdministration RemoveAdministrator(UserAdministration administration) { Administrators.Remove(administration); return(administration); }
public UserAdministration AddAdministrator(UserAdministration administration) { Administrators.Add(administration); return(administration); }