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

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