private Cart GetCart() { Cart cart = (Cart)Session["Cart"]; if (cart == null) { cart = new Cart(); Session["Cart"] = cart; } return cart; }
public PartialViewResult Summary(Cart cart) { return PartialView(cart); }