Exchange Rate Service | |||
---|---|---|---|
Documentation | Method | Supports cancellation | Supports idempotency |
Get Exchange Rates | Task<ApiResult<ApiExchangeRateResponse>> GetExchangeRateAsync(string fromCurrency, string toCurrency, CancellationToken cancellationToken); | Yes | No |
Task<ApiResult<ApiExchangeRateResponse>> GetExchangeRateAsync(string fromCurrency, string toCurrency); | No | No |