// GET: Checkout public ActionResult Checkout() { CheckoutViewModel vmCheckout = new CheckoutViewModel(); ShoppingCartActions cart = new ShoppingCartActions(); var cartItems = cart.getCartItems(); vmCheckout.shoppingCart = cartItems; vmCheckout.Grandtotal = cart.GetGrandTotal(); return(View(vmCheckout)); }