Beispiel #1
0
 public ActionResult <IList <Aircraft> > Get()
 {
     try
     {
         return(Ok(AircraftService.Get()));
     }
     catch (Exception ex)
     {
         logger.LogError(1, ex, "Get Aircrafts");
         return(BadRequest());
     }
 }