Esempio n. 1
0
        public ActionResult RemoveCoupon()
        {
            var  couponid = Request["couponid"] ?? string.Empty;
            long tempid   = 0;

            long.TryParse(couponid, out tempid);

            CurrentCart.RemoveCouponCode(tempid);
            HccApp.CalculateOrderAndSave(CurrentCart);

            return(Redirect(Url.RouteHccUrl(HccRoute.Cart)));
        }