Example #1
0
        public ActionResult Remover(int id)
        {
            CestaCompra cesta = (CestaCompra)Session["cesta"];

            cesta.Remover(id);
            Session.Add("cesta", cesta);

            return(RedirectToAction("Index"));
        }