public virtual IActionResult DeleteSelected(ICollection <int> selectedIds) { if (!_permissionService.Authorize(StandardPermissionProvider.ManageServices)) { return(AccessDeniedView()); } if (selectedIds != null) { _serviceService.Deletes(_serviceService.GetByIds(selectedIds.ToArray())); } return(Json(new { Result = true })); }