public ActionResult Index(int id) { ProductBus.Xoa(id); var ds = ProductBus.DanhSach(); return(View(ds)); }
// // GET: /Product/ public ActionResult Index(int?page) { if (page == null) { page = 1; } return(View(ProductBus.DanhSach(page))); }
public ActionResult Index() { var lstProduct = ProductBus.DanhSach(); return(View(lstProduct)); }
// GET: Admin/SanPham public ActionResult Index() { var ds = ProductBus.DanhSach(); return(View(ds)); }