public ActionResult TypeProductManager() { var listtype = TheLoai.ListTheLoai(); ViewBag.Type = listtype; return(View()); }
public ActionResult InsertProduct() { using (var db = new Context()) { ViewBag.Type = TheLoai.ListTheLoai(); return(View()); } }