/// <summary> /// return asynchronous DirectionsResponce using Direction service as a singleton /// </summary> /// <param name="request"></param> /// <returns></returns> public static Task <DirectionsResponse> GetDirectionsAsync(this DirectionsRequest request) { return(DirectionsService.GetSingletonInstance().GetDirectionsAsync(request)); }
/// <summary> /// return DirectionsResponce using Direction service as a singleton /// </summary> /// <param name="request"></param> /// <returns></returns> public static DirectionsResponse GetDirections(this DirectionsRequest request) { return(DirectionsService.GetSingletonInstance().GetDirections(request)); }