Beispiel #1
0
        public ActionResult Index()
        {
            var orderItem = cartManager.DownloadCart();
            var fullPrice = cartManager.DownloadCartValue();

            var cartViewModel = new CartViewModel()
            {
                OrderPosition = orderItem,
                TotalPrice    = fullPrice
            };

            return(View(cartViewModel));
        }