Пример #1
0
        public ActionResult Index()
        {
            TransactionLibrary.RequestPayments();

            var root         = UmbracoContext.PublishedContentRequest.PublishedContent.AncestorsOrSelf("home").FirstOrDefault();
            var confirmation = root.Descendants("confirmation").FirstOrDefault();

            return(Redirect(confirmation.Url));
        }
        public ActionResult Index()
        {
            TransactionLibrary.RequestPayments();

            var parent       = PublishedRequest.PublishedContent.AncestorOrSelf("basket");
            var confirmation = parent.Children(x => x.Name == "Confirmation").FirstOrDefault();

            return(Redirect(confirmation.Url));
        }
        public ActionResult Post()
        {
            TransactionLibrary.RequestPayments();

            return(View("/Views/Complete.cshtml"));
        }