//public bool Exists(string key) //{ // return CacheManager.Contains(key,""); //} public bool Exists(string key, string valKey) { return(LocalCacheManager.Contains(key, valKey)); }
public void Remove(string key, string valKey) { LocalCacheManager.Remove(key, valKey); }
public void Put(string key, string valKey, object value) { LocalCacheManager.Update(key, valKey, value); }
public object Get(string key, string valKey) { return(LocalCacheManager.Get(key, valKey)); }
public void Add(string key, string valKey, object value) { LocalCacheManager.AddOrUpdate(key, valKey, value, DateTime.Now.AddMinutes(2)); }