예제 #1
0
        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));
        }
예제 #2
0
        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));
        }