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); }
public abstract void UpdateFeatureGroup(FeatureGroupInfo FeatureGroup);
public abstract int NewFeatureGroup(FeatureGroupInfo FeatureGroup);