Пример #1
0
        public ActionResult UpdateCart(int productId, string userName, int qty)
        {
            //Method to call whenever user decreases quantity by 1 with each click under "My Purchases"
            //To ensure that the decrement button html has limit on how low it can go
            CartFunctions.UpdateCart(productId, userName, qty);

            return(Redirect(Request.UrlReferrer.ToString()));
        }