Ejemplo n.º 1
0
        public ActionResult ProcessCardPayment(CardPayment paymentDetail)
        {
            //Redirect Based on Business Rules
            //PaymentUtils.PrePageLoadRedirectUrlsAccountsBalance();

            CardPaymentHelper cardPaymentRepo = new CardPaymentHelper();
            var model = cardPaymentRepo.SubmitCardPayment(paymentDetail);

            return(View(model));
        }
Ejemplo n.º 2
0
        public ActionResult CardPayments(CardPayment paymentDetails)
        {
            //BlueGreenContext bgContext = new BlueGreenContext();
            Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);
            Response.Cache.SetExpires(DateTime.Now);
            Response.Expires = 0;

            CardPaymentHelper cardPaymentRepo = new CardPaymentHelper();
            var model = cardPaymentRepo.SubmitCardPayment(paymentDetails);

            return(View(paymentDetails));
        }