Exemple #1
0
 public List <Currency> GetAllCurrencies() => RequestHelper.GetAllCurrencies(apiKey).OrderBy(x => x.CurrencyName).ToList();
Exemple #2
0
 public double Convert(double amount, string from, string to) => RequestHelper.ExchangeRate(from, to, apiKey) * amount;