public virtual ActionResult PredefinedArticleAttributeValueDelete(int id) { if (!_permissionService.Authorize(StandardPermissionProvider.ManageAttributes)) { return(AccessDeniedView()); } var ppav = _articleAttributeService.GetPredefinedArticleAttributeValueById(id); if (ppav == null) { throw new ArgumentException("No predefined article attribute value found with the specified id"); } _articleAttributeService.DeletePredefinedArticleAttributeValue(ppav); return(new NullJsonResult()); }