public Task <FareResponse> FareAsync(FareRequest request) { if (request == null) { throw new NullReferenceException(nameof(request)); } return(GetFareAsync(request)); }
private Task <FareResponse> GetFareAsync(FareRequest request) { var requestUrl = request.ToString(); return(GetAsync <FareResponse>(requestUrl)); }