public bool TryLoad(CurrencyRateLoadModel currencyRateLoadModel, out CurrencyRate rate)
 {
     return _cache.TryGetValue(currencyRateLoadModel, out rate);
 }
 public void Save(CurrencyRate rate, DateTime day)
 {
     var currencyRateLoadModel = new CurrencyRateLoadModel(rate.Left.CharCode, rate.Right.CharCode, day);
     _cache.Add(currencyRateLoadModel, rate);
 }