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