SHARE
TWEET

Untitled

a guest Jun 25th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (_cachingStrategy.IsItemExists<TEntity>())
  2.         {
  3.             return _cachingStrategy.GetList<TEntity>();
  4.  
  5.         }
  6.         var data= this._dataStoreStrategy.GetList();
  7.         _cachingStrategy.SetList<TEntity>(data.ToList(), TimeSpan.FromDays(100));
  8.         return data;
  9.  
  10.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top