/// <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)); }
/// <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); }