예제 #1
0
        public void SaveFeatureGroup(string PortalId, string strStoreGuid, FeatureGroupInfo featureGroup, string Token)
        {
            int portalId = -1;

            Int32.TryParse(PortalId, out portalId);
            if (portalId < 0)
            {
                throw new Exception("PortalId must be zero or greater");
            }

            if (featureGroup == null)
            {
                throw new Exception("FeatureGroup must not be null");
            }

            Guid storeGuid = new Guid(strStoreGuid);

            if (storeGuid == Guid.Empty)
            {
                throw new Exception("StoreGuid must be valid!");
            }

            ImportController.SaveFeatureGroup(portalId, featureGroup, storeGuid);
        }
예제 #2
0
 public abstract void UpdateFeatureGroup(FeatureGroupInfo FeatureGroup);
예제 #3
0
 public abstract int NewFeatureGroup(FeatureGroupInfo FeatureGroup);