protected T GetCache <T>(string name) where T : class { MultiBank.MemoryCache.MemoryCachingClient M = new MultiBank.MemoryCache.MemoryCachingClient(); var model = M.GetData(name) as T; return(model); }
protected void KeepCache(string name, object value) { MultiBank.MemoryCache.MemoryCachingClient M = new MultiBank.MemoryCache.MemoryCachingClient(); M.Remove(name); M.Add(name, value); }