예제 #1
0
 protected TEntity GetCachedObject <TEntity>(object key)
     where TEntity : IIdProvider
 => _cachService.Get <TEntity>(key);
예제 #2
0
 public Value GetFromCache(string key)
 {
     return(service.Get(key));
 }