public List <ExchangeRate> GetExchangeRates()
 {
     if (exchangeRateRepository.Count() == 0)
     {
         return(DownloadNewExchangeRates());
     }
     return(exchangeRateRepository.Get().Values.ToList());
 }