Пример #1
0
 /// <summary>
 /// Retrieve flights for a certain airport which arrived 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 <ArrivalsByAirportResponseModel> GetArrivalsByAirportAsync(ArrivalsByAirportRequestModel requestModel)
 {
     return(await GetAsync <ArrivalsByAirportRequestModel, ArrivalsByAirportCommand, ArrivalsByAirportResponseModel>(requestModel));
 }
Пример #2
0
 /// <summary>
 /// Retrieve flights for a certain airport which arrived 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 ArrivalsByAirportResponseModel GetArrivalsByAirport(ArrivalsByAirportRequestModel requestModel)
 {
     return(GetArrivalsByAirportAsync(requestModel).Result);
 }