public virtual IActionResult DeleteSelectedSpecificationAttributes(ICollection <int> selectedIds)
        {
            if (!_permissionService.Authorize(StandardPermissionProvider.ManageAttributes))
            {
                return(AccessDeniedView());
            }

            if (selectedIds != null)
            {
                var specificationAttributes = _specificationAttributeService.GetSpecificationAttributeByIds(selectedIds.ToArray());
                _specificationAttributeService.DeleteSpecificationAttributes(specificationAttributes);

                foreach (var specificationAttribute in specificationAttributes)
                {
                    _customerActivityService.InsertActivity("DeleteSpecAttribute",
                                                            string.Format(_localizationService.GetResource("ActivityLog.DeleteSpecAttribute"), specificationAttribute.Name), specificationAttribute);
                }
            }

            return(Json(new { Result = true }));
        }