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

            try
            {
                return(_componentGroupRegistryService.GetComponentAssociationSetting(componentGroupUid, componentUid, settingUid));
            }
            catch (ComponentGroupNotFoundException)
            {
                HttpContext.Response.StatusCode = (int)HttpStatusCode.NotFound;
                return(null);
            }
        }
Ejemplo n.º 2
0
 public object GetComponentAssociationSetting(string componentGroupUid, string componentUid, string settingUid)
 {
     return(_componentGroupRegistryService.GetComponentAssociationSetting(componentGroupUid, componentUid, settingUid));
 }