private void Refresh() { cache.Put(CacheControlKey, new TrenesStatusModel(), new TimeSpan(0, 3, 0), CacheItemPriority.NotRemovable, (key, value, reason) => Start()); }
private void Refresh() { _cache.Put(CacheControlKey, new DivisaModel(), new TimeSpan(0, 20, 0), CacheItemPriority.NotRemovable, (key, value, reason) => Start()); }