summaryrefslogtreecommitdiff
path: root/Services
diff options
context:
space:
mode:
Diffstat (limited to 'Services')
-rw-r--r--Services/CurrencyClient.cs2
-rw-r--r--Services/ICurrencyClient.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Services/CurrencyClient.cs b/Services/CurrencyClient.cs
index ee6998b..dd7fd2e 100644
--- a/Services/CurrencyClient.cs
+++ b/Services/CurrencyClient.cs
@@ -14,7 +14,7 @@ public class CurrencyClient : ICurrencyClient
_httpClient = httpClient;
}
- public async Task<decimal?> GetCurrencyCourse(DateTime date)
+ public async Task<decimal?> GetExchangeRate(DateTime date)
{
string request = $"{_requestAddress}{date.Date:dd/MM/yyyy}";
diff --git a/Services/ICurrencyClient.cs b/Services/ICurrencyClient.cs
index 1e10473..e45a25a 100644
--- a/Services/ICurrencyClient.cs
+++ b/Services/ICurrencyClient.cs
@@ -2,5 +2,5 @@ namespace ExcelAddIn.Services;
public interface ICurrencyClient
{
- public Task<decimal?> GetCurrencyCourse(DateTime date);
+ public Task<decimal?> GetExchangeRate(DateTime date);
}