示例#1
0
        public ActionResult PrintTransactionResult(string txnid)
        {
            DynamicReportModel dynamicReportModel = new DynamicReportModel();
            //DynamicReportCommon dynamicReportCommons = new DynamicReportCommon();
            string txnId = txnid.DecryptParameter();

            if (!String.IsNullOrEmpty(txnId))
            {
                IDynamicReportBusiness _dynamicReport = new DynamicReportBusiness();
                dynamicReportModel = _dynamicReport.GetTransactionReportDetail(txnId).MapObject <DynamicReportModel>();;
                return(View(dynamicReportModel));
            }
            //dynamicReportModel = dynamicReportCommons.MapObject<DynamicReportModel>();
            return(RedirectToAction("LandLinePayment"));
        }
示例#2
0
        public ActionResult ResultPage(string txnid)
        {
            DynamicReportModel dynamicReportModel = new DynamicReportModel();
            //DynamicReportCommon dynamicReportCommons = new DynamicReportCommon();
            string txnId = txnid.DecryptParameter();

            ViewBag.TxnId = txnid;
            if (!String.IsNullOrEmpty(txnId))
            {
                IDynamicReportBusiness _dynamicReport = new DynamicReportBusiness();
                dynamicReportModel = _dynamicReport.GetTransactionReportDetail(txnId).MapObject <DynamicReportModel>();;
                return(View(dynamicReportModel));
            }
            //dynamicReportModel = dynamicReportCommons.MapObject<DynamicReportModel>();



            return(RedirectToAction("NwscBillInquiry"));
        }
        public ActionResult ResultPage(string txnid)
        {
            DynamicReportModel dynamicReportModel = new DynamicReportModel();
            //DynamicReportCommon dynamicReportCommons = new DynamicReportCommon();
            string txnId = txnid.DecryptParameter();

            if (!String.IsNullOrEmpty(txnId))
            {
                IDynamicReportBusiness _dynamicReport = new DynamicReportBusiness();
                dynamicReportModel = _dynamicReport.GetTransactionReportDetail(txnId).MapObject <DynamicReportModel>();;
                return(View(dynamicReportModel));
            }
            //dynamicReportModel = dynamicReportCommons.MapObject<DynamicReportModel>();

            if (Session["UserType"].ToString().ToLower() == "merchant")
            {
                return(RedirectToAction("MobileTopUp3"));
            }


            return(RedirectToAction("MobileTopup"));
        }