Exemple #1
0
        public ActionResult DebitCardPayment(PaymentModel modelobj)
        {
            try
            {
                PaymentBLL bllobj = new PaymentBLL();
                int?       Result = bllobj.DebitCardPayment(modelobj);
                if (Result > 0)
                {
                    ViewBag.Result = "Success";
                }
                else
                {
                    ViewBag.Result = "Failed";
                }
            }

            catch (Exception ex)
            {
                logger.Info(ex.Message);
                logger.Debug(ex.Message);
            }
            return(View());
        }