示例#1
0
        public RedirectToRouteResult RemoveProduct(int productId, string RedirectionUrl, Cart cart)
        {
            cart.Remove(productId);

            return RedirectToAction("Index", new { redirectToUrl = RedirectionUrl });
        }