Ejemplo n.º 1
0
        public ActionResult CancelOrder(string token)
        {
            var orderID = Convert.ToInt32(Security.Decrypt(token, Identity.Current.CustomerID));

            Exigo.CancelOrder(orderID);

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