Esempio n. 1
0
        public void AddCategory(Site site, string category)
        {
            var key = GetElementCategoryKey(category);
            var obj = new LabelCategory()
            {
                Category = category
            };

            DataHelper.StoreObject(site, obj, key, ModelExtensions.LabelCategoryDataType);
        }
Esempio n. 2
0
 public void AddCategory(Site site, string category)
 {
     var key = GetElementCategoryKey(category);
         var obj = new LabelCategory() { Category = category };
         DataHelper.StoreObject(site, obj, key, ModelExtensions.LabelCategoryDataType);
 }