Ejemplo n.º 1
0
        public async Task<QuoteRequest> RecalculateAsync(QuoteRequest quoteRequest)
        {
            var requestUrl = CreateRequestUri(RelativePaths.Recalculate);

            var response = await SendAsync<QuoteRequest, QuoteRequest>(requestUrl, HttpMethod.Put, quoteRequest).ConfigureAwait(false);

            return response;
        }
Ejemplo n.º 2
0
        public async Task UpdateAsync(QuoteRequest quoteRequest)
        {
            var requestUrl = CreateRequestUri(RelativePaths.QuoteRequests);

            await SendAsync<QuoteRequest, QuoteRequest>(requestUrl, HttpMethod.Put, quoteRequest).ConfigureAwait(false);
        }