Esempio n. 1
0
        public ActionResult DeleteSelected(ICollection <int> selectedIds)
        {
            if (!_permissionService.Authorize("ManageLogs"))
            {
                return(AccessDeniedView());
            }

            if (selectedIds != null)
            {
                _systemLogService.DeleteLogs(_systemLogService.GetSystemLogByIds(selectedIds.ToArray()).ToList());
            }


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