Exemple #1
0
 public static string HotelAvailability(this CoralClient client, CoralHotelAvailabilityParameters parameters)
 {
     return(client.MakeRequest(
                CoralHotelAvailabilityClient.ENDPOINT, HttpMethod.Get, query: parameters.GetQueryString()
                ).Result);
 }
Exemple #2
0
 public static async Task <string> HotelAvailabilityAsync(this CoralClient client, CoralHotelAvailabilityParameters parameters)
 {
     return(await client.MakeRequest(
                CoralHotelAvailabilityClient.ENDPOINT, HttpMethod.Get, query : parameters.GetQueryString()
                ));
 }