示例#1
0
        // GET: Basket
        public ActionResult Index()
        {
            var basketPositions = basketManager.DownloadBasket();
            var totalPrice      = basketManager.DownloadBasketValue();

            BasketViewModel basketVM = new BasketViewModel()
            {
                BasketPositions = basketPositions,
                TotalPrice      = totalPrice
            };

            return(View(basketVM));
        }