public ActionResult ProcessCardPayment(CardPayment paymentDetail) { //Redirect Based on Business Rules //PaymentUtils.PrePageLoadRedirectUrlsAccountsBalance(); CardPaymentHelper cardPaymentRepo = new CardPaymentHelper(); var model = cardPaymentRepo.SubmitCardPayment(paymentDetail); return(View(model)); }
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)); }