Пример #1
0
 public void Save()
 {
     _memoryService.SaveCollection <CurrencyRate>(_rates, _fileName);
     _memoryService.SaveValue(_lastUpdateKey, _lastUpdate);
     _memoryService.SaveValue(_lastCurrencyKey, _lastCurrency);
 }
Пример #2
0
 public void Save()
 {
     _memoryService.SaveCollection <T>(Collection, FileName);
 }