Exemplo n.º 1
0
 public void Save()
 {
     _memoryService.SaveCollection <CurrencyRate>(_rates, _fileName);
     _memoryService.SaveValue(_lastUpdateKey, _lastUpdate);
     _memoryService.SaveValue(_lastCurrencyKey, _lastCurrency);
 }
Exemplo n.º 2
0
 public void Save()
 {
     _memoryService.SaveCollection <T>(Collection, FileName);
 }