Пример #1
0
 public ActionResult <string> IncreaseBorrowRep(int custid)
 {
     try
     {
         _logger.LogInformation("Received patch Score IncreaseBorrowRep request");
         _scoreServices.IncreaseBorrowRep(custid);
         return(Ok("OK"));
     }
     catch (Exception exception)
     {
         _logger.LogError(exception, exception.Message);
         return(new StatusCodeResult(500));
     }
 }