Beispiel #1
0
 public IActionResult Audit(AuditLeaves audit)
 {
     try
     {
         return(Ok(_leaveService.Audit(audit)));
     }
     catch (Exception ex)
     {
         message = ex.Message;
         _log.LogError(message);
         return(StatusCode(StatusCodes.Status500InternalServerError, message));
     }
 }