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