Beispiel #1
0
 public async Task <IActionResult> GetReservationInfosTotal(Guid studentId)
 {
     try
     {
         return(Ok(new JsonMessageResult("Success", 1, await _manager.GetInfosTotal(studentId))));
     }
     catch (Exception e)
     {
         _logger.LogError(e.Message, e);
         return(Ok(new JsonMessageResult(e.Message, 0, -1)));
     }
 }