public IActionResult Update(RequiredScore requiredScore) { var result = _requiredScoreService.Update(requiredScore); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }
public IResult Update(RequiredScore requiredScore) { _requiredScoreDal.Update(requiredScore); return(new SuccessResult(Messages.Updated)); }
public IResult Add(RequiredScore requiredScore) { _requiredScoreDal.Add(requiredScore); return(new SuccessResult(Messages.Added)); }