public ActionResult ClearLog() { if (!_permissionService.Authorize("ManageLogs")) { return(AccessDeniedView()); } _systemLogService.ClearLog(); SuccessNotification("System Log Entries Cleared Successfully."); return(RedirectToAction("List")); }