public ActionResult Statement() { TransactionsController.CurrentAccount = Convert.ToInt64(Session["Accountno"]); TransactionBusinessLayer sObj = new TransactionBusinessLayer(); StatementModel sModel = new StatementModel(); List <StatementModel> tranList = sObj.GetStatement(Convert.ToInt64(Session["Accountno"])); sModel.statementList = tranList; return(View(sModel)); }
public ActionResult StatementPdf() { TransactionBusinessLayer stObj = new TransactionBusinessLayer(); StatementModel stModel = new StatementModel(); // List<StatementModel> tranList = stObj.GetStatement(Convert.ToInt64(Session["Accountno"])); //List<StatementModel> tranList = stObj.GetStatement(110010001114 ); List <StatementModel> tranList = stObj.GetStatement(TransactionsController.CurrentAccount); stModel.statementList = tranList; return(View(stModel)); }