Example #1
0
 public void AddRoleToUser(int userId, int roleId)
 {
     roleRepository.AddRoleToUser(userId, roleId);
     unitOfWork.Commit();
 }
Example #2
0
 public bool AddRoleToUser(string goTag, string roleName)
 {
     return(_roleRepository.AddRoleToUser(goTag, roleName));
 }