public void Update(Model.UserRole entity)
 {
     _userRoleDAL.Update(entity);
 }
 public void Delete(UserRole entity)
 {
     entity.IsActive = false;
     _userRoleDAL.Update(entity);
 }
Beispiel #3
0
 public bool Update(UserRole model)
 {
     CheckAvailableUserRole(model.ID);
     CheckMaxLengthRoleName(model.RoleName);
     return(_userRoleDAL.Update(model) > 0);
 }
Beispiel #4
0
 public bool Update(UserRole model)
 {
     return(_userRoleDAL.Update(model) > 0);
 }