public static bool KeyExists(string key) => CacheDb.KeyExists(key);
public static T Get <T>(string key) where T : class { var exists = CacheDb.KeyExists(key); return(exists ? CacheDb.StringGet(key).ToString().Deserialize <T>() : null); }