Esempio n. 1
0
        public ActionResult FlushCache()
        {
            CacheManager cachMagr = new CacheManager();
            var flushResult = cachMagr.Flush();

            if (flushResult.Item1)
            { 
                ViewBag.result = "OK";
            }
            else
            {
                ViewBag.result = String.Format("Error: {0}",flushResult.Item2);
            }

            return View();
        
        }