Exemplo n.º 1
0
        public ActionResult ClearLog()
        {
            if (!_permissionService.Authorize("ManageLogs"))
            {
                return(AccessDeniedView());
            }

            _systemLogService.ClearLog();

            SuccessNotification("System Log Entries Cleared Successfully.");
            return(RedirectToAction("List"));
        }