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")); }
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")); }