Пример #1
0
        public void SaveFeatureLang(string PortalId, string strStoreGuid, FeatureLangInfo featureLang, string Token)
        {
            int portalId = -1;

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

            if (featureLang == null)
            {
                throw new Exception("FeatureLang must not be null");
            }

            Guid storeGuid = new Guid(strStoreGuid);

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

            ImportController.SaveFeatureLang(portalId, featureLang, storeGuid);
        }
Пример #2
0
 public abstract void UpdateFeatureLang(FeatureLangInfo FeatureLang);
Пример #3
0
 public abstract void NewFeatureLang(FeatureLangInfo FeatureLang);