Esempio n. 1
0
        public ActionResult ClearLog()
        {
            LoggingService.ClearLogFiles();

            TempData[AppConstants.MessageViewBagName] = new GenericMessageViewModel
            {
                Message     = "Log File Cleared",
                MessageType = GenericMessages.success
            };
            return(RedirectToAction("Index"));
        }