public ActionResult RemoveFromCart(CartItems cartItems, int productId)
 {
     //cartItems.AddToCart( repositoryCart.Products.Where(p => p.ProductID == productId).First());
     Product product = repositoryCart.Products.Where(p => p.ProductID == productId).First();
     cartItems.RemoveFromCart(product);
     return View("AddToCart",cartItems);
 }
 // GET: ShoppingCart
 public ActionResult AddToCart(CartItems cartItems, int productId)
 {
     //cartItems.AddToCart( repositoryCart.Products.Where(p => p.ProductID == productId).First());
     
     Product product = repositoryCart.Products.Where(p => p.ProductID == productId).First();
     cartItems.AddToCart(product);
     cartItems.ReturnURL = Request.UrlReferrer.ToString();
     return View(cartItems);
 }
 public PartialViewResult Summary(CartItems cartItems)
 {
     return PartialView(cartItems);
 }