Exemplo n.º 1
0
        public ActionResult DeleteOrderItem(int id)
        {
            ShopingCart shop    = (ShopingCart)Session["DonHang"];
            ProductDao  pro_dao = new ProductDao();
            Product     pro     = pro_dao.FindProductByICode(id);

            shop.DeleteCard(id);
            Session["DonHang"] = shop;
            return(RedirectToAction("Order", "HomePage"));
        }