Exemplo n.º 1
0
 /// <summary>
 /// Retrieve flights for a certain airport which departed within a given time interval [begin, end]. If no flights are found for the given period, HTTP stats 404 - Not found is returned with an empty response body.
 /// </summary>
 public async Task <DeparturesByAirportResponseModel> GetDeparturesByAirportAsync(DeparturesByAirportRequestModel requestModel)
 {
     return(await GetAsync <DeparturesByAirportRequestModel, DeparturesByAirportCommand, DeparturesByAirportResponseModel>(requestModel));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Retrieve flights for a certain airport which departed within a given time interval [begin, end]. If no flights are found for the given period, HTTP stats 404 - Not found is returned with an empty response body.
 /// </summary>
 public DeparturesByAirportResponseModel GetDeparturesByAirport(DeparturesByAirportRequestModel requestModel)
 {
     return(GetDeparturesByAirportAsync(requestModel).Result);
 }