Ejemplo n.º 1
0
 public static string Availability(this CoralClient client, CoralAvailabilityParameters parameters)
 {
     return(client.MakeRequest(
                CoralAvailabilityClient.ENDPOINT, HttpMethod.Get, query: parameters.GetQueryString()
                ).Result);
 }
Ejemplo n.º 2
0
 public static async Task <string> AvailabilityAsync(this CoralClient client, CoralAvailabilityParameters parameters)
 {
     return(await client.MakeRequest(
                CoralAvailabilityClient.ENDPOINT, HttpMethod.Get, query : parameters.GetQueryString()
                ));
 }