Esempio n. 1
0
 public IActionResult GetDestinationFlights(string id)
 {
     if (id == "top10")
     {
         return(Ok(_destinationService.GetDestinationFlights()));
     }
     if (id == "top10Origin")
     {
         return(Ok(_destinationService.GetDestinationOrigins()));
     }
     else
     {
         return(NoContent());
     }
 }