Exemplo n.º 1
0
        public ActionResult Index(int id)
        {
            ProductBus.Xoa(id);
            var ds = ProductBus.DanhSach();

            return(View(ds));
        }
Exemplo n.º 2
0
 //
 // 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));
        }
Exemplo n.º 4
0
        // GET: Admin/SanPham
        public ActionResult Index()
        {
            var ds = ProductBus.DanhSach();

            return(View(ds));
        }