Ejemplo n.º 1
0
 /// <summary>
 /// This API call retrieves flights for a particular aircraft within a certain time interval. Resulting flights departed and arrived within [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 <FlightsByAircraftResponseModel> GetFlightsByAircraftAsync(FlightsByAircraftRequestModel requestModel)
 {
     return(await GetAsync <FlightsByAircraftRequestModel, FlightsByAircraftCommand, FlightsByAircraftResponseModel>(requestModel));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// This API call retrieves flights for a particular aircraft within a certain time interval. Resulting flights departed and arrived within [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 FlightsByAircraftResponseModel GetFlightsByAircraft(FlightsByAircraftRequestModel requestModel)
 {
     return(GetFlightsByAircraftAsync(requestModel).Result);
 }