Beispiel #1
0
        public Task <ConfirmFareResponse> ConfirmFareAsync(ConfirmFareRequest request)
        {
            if (request == null)
            {
                throw new NullReferenceException(nameof(request));
            }

            return(GetConfirmFareAsync(request));
        }
Beispiel #2
0
        private Task <ConfirmFareResponse> GetConfirmFareAsync(ConfirmFareRequest request)
        {
            var requestUrl = request.ToString();

            return(GetAsync <ConfirmFareResponse>(requestUrl));
        }