public Task <FaresResponse> FaresAsync(FaresRequest request) { if (request == null) { throw new NullReferenceException(nameof(request)); } return(GetFaresAsync(request)); }
private Task <FaresResponse> GetFaresAsync(FaresRequest request) { var requestUrl = request.ToString(); return(GetAsync <FaresResponse>(requestUrl)); }