Exemplo n.º 1
0
 public IActionResult Get()
 {
     try
     {
         var result = airport.GetStewardesses();
         if (result == null)
         {
             return(NotFound());
         }
         return(Ok(result));
     }
     catch (System.Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }