//
        // GET: /Carrinho/Edit/5
        public ActionResult Finalizar()
        {
            CarrinhoContext db = new CarrinhoContext();

            db.Add((Carrinho)Session["carrinho"]);

            return RedirectToAction("Index", "Home");
        }
 public CarrinhoController(CarrinhoContext dbContext)
 {
     _dbContext = dbContext;
 }