public ActionResult Index() { DynamicReportFilter DRF = new DynamicReportFilter(); DRF.UserId = Session["UserId"].ToString(); DRF.reportlist = _Report.GetSettlementReportclient(DRF); foreach (var item in DRF.reportlist) { item.TxnId = item.TxnId.EncryptParameter(); } LoadDropDownList(DRF); return(View(DRF)); }
public ActionResult Index() { DynamicReportFilter DRF = new DynamicReportFilter(); DRF.UserId = Session["UserId"].ToString(); DRF.reportlist = _Report.GetSettlementReportclient(DRF); ViewBag.EmptyMessage = "False"; if (DRF.reportlist == null || DRF.reportlist.Count == 0) { ViewBag.EmptyMessage = "True"; } foreach (var item in DRF.reportlist) { item.TxnId = item.TxnId.EncryptParameter(); } LoadDropDownList(DRF); return(View(DRF)); }