public IActionResult Update(RequiredScore requiredScore)
        {
            var result = _requiredScoreService.Update(requiredScore);

            if (result.Success)
            {
                return(Ok(result));
            }
            return(BadRequest(result));
        }
Example #2
0
 public IResult Update(RequiredScore requiredScore)
 {
     _requiredScoreDal.Update(requiredScore);
     return(new SuccessResult(Messages.Updated));
 }
Example #3
0
 public IResult Add(RequiredScore requiredScore)
 {
     _requiredScoreDal.Add(requiredScore);
     return(new SuccessResult(Messages.Added));
 }