public void DeleteComponentAssociationSetting(string componentGroupUid, string componentUid, string settingUid)
        {
            if (componentGroupUid == null)
            {
                throw new ArgumentNullException(nameof(componentGroupUid));
            }
            if (componentUid == null)
            {
                throw new ArgumentNullException(nameof(componentUid));
            }

            try
            {
                _componentGroupRegistryService.RemoveComponentAssociationSetting(componentGroupUid, componentUid, settingUid);
            }
            catch (ComponentGroupNotFoundException)
            {
                HttpContext.Response.StatusCode = (int)HttpStatusCode.NotFound;
            }
        }
示例#2
0
 public void DeleteComponentAssociationSetting(string componentGroupUid, string componentUid, string settingUid)
 {
     _componentGroupRegistryService.RemoveComponentAssociationSetting(componentGroupUid, componentUid, settingUid);
 }