Exemplo n.º 1
0
        public ActionResult Index()
        {
            CacheViewModel viewModel = new CacheViewModel()
            {
                IsCacheEnabled = ApplicationSettings.UseObjectCache,
                PageKeys       = _pageViewModelCache.GetAllKeys(),
                ListKeys       = _listCache.GetAllKeys(),
                SiteKeys       = _siteCache.GetAllKeys()
            };

            return(View(viewModel));
        }