public void testEdit() { CategoriesController categoriesController = new CategoriesController(); ActionResult edit1 = categoriesController.Edit(5); Category category = new Category(); category.CategoryID = 5; category.CategoryName = "Clothing"; ActionResult edit2 = categoriesController.Edit(category); }
public void testCreate() { CategoriesController categoriesController = new CategoriesController(); ActionResult create1 = categoriesController.Create(); Category category = new Category(); category.CategoryID = 5; category.CategoryName = "Clothing"; ActionResult create2 = categoriesController.Create(category); }
public void testIndex() { CategoriesController categoriesController = new CategoriesController(); ActionResult index = categoriesController.Index(); }
public void testDeleteConfirmed() { CategoriesController categoriesController = new CategoriesController(); ActionResult deleteConfirmed = categoriesController.DeleteConfirmed(5); }