public ActionResult ToevoegenProduct() { CategorieDbController controller = new CategorieDbController(); ViewBag.Categorieen = controller.getListWithAllCategorieen(); return View(); }
public ActionResult VoegCategorieToe() { CategorieDbController controller = new CategorieDbController(); ViewBag.categorieList = controller.getListWithAllCategorieen(); return View(); }
public ActionResult UpdateCategorie(int id) { CategorieDbController controller = new CategorieDbController(); ViewBag.categorieList = controller.getListWithAllCategorieen(); return View(controller.getCategorieFromId(id)); }
public ActionResult AlleCategorieen() { CategorieDbController controller = new CategorieDbController(); return View(controller.getListWithAllCategorieen()); }