示例#1
0
 public void RemoveSubCategory(Category category, SubCategory subCategory)
 {
     category.Subcategories.Remove(subCategory);
     Save();
 }
示例#2
0
 public void EditSubCategory(SubCategory selectedsubCategory, string name)
 {
     selectedsubCategory.NameSubcategory = name;
     Save();
 }