Ejemplo n.º 1
0
 public static bool KeyExists(string key) => CacheDb.KeyExists(key);
Ejemplo n.º 2
0
        public static T Get <T>(string key) where T : class
        {
            var exists = CacheDb.KeyExists(key);

            return(exists ? CacheDb.StringGet(key).ToString().Deserialize <T>() : null);
        }