Exemplo n.º 1
0
 public object Delete(string id)
 {
     try
     {
         return(_supervisor.DeleteOrder(id));
     }
     catch (Exception ex)
     {
         _logger.LogError(ex, "Exception: ");
         return(StatusCode(500, ex));
     }
 }