// // GET: /ShoppingCart/ public ViewResult Index() { //return View(shoppingcartitemRepository.AllIncluding(shoppingcartitem => shoppingcartitem.Product)); //Original MVC3 site inaccurately associated the cart id with the username. //Should be associated with the CustomerID from Sales.Customer table. return(View(shoppingcartitemRepository.FindByCartID(_cartID).AsEnumerable())); }