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