Example #1
0
 public static Category CreateCategory(int categoryID, string categoryName)
 {
     Category category = new Category();
     category.CategoryID = categoryID;
     category.CategoryName = categoryName;
     return category;
 }
Example #2
0
 public void AddToCategories(Category category)
 {
     base.AddObject("Categories", category);
 }