Esempio n. 1
0
        public ActionResult ShowCart()
        {
            var cart   = GetCart();
            var orders = cart.GetAllGoodsId();

            cart.RenewPriceGoods(_goods.FindBy(g => orders.Contains(g.GoodId)));
            return(View(cart.GetAll()));
        }