public async Task <ICollection <Rate> > GetRatesAsync()
        {
            RatesJson rates = await GetRatesCore();

            return(rates.Rates.Select(o => new Rate()
            {
                Currency = o.Code,
                Value = rates.GetRate(o.Code)
            }).ToList());
        }
        public async Task <decimal> GetRateAsync(string currency)
        {
            RatesJson rates = await GetRatesCore();

            return(rates.GetRate(currency));
        }