public IActionResult loadContrDisc()
        {
            var con = new ContrDiscUpload
            {
                getfund = fundTypeService.GetFundTypes().ToList()
            };

            return(View(con));
        }
Exemplo n.º 2
0
        public IActionResult loadLoanDisc()
        {
            var loan = loanRegisterService.getListofLoanRegisterByBatchDrp().Result;

            ViewBag.batch = loan.OrderBy(x => x.LoanTypeID);
            var con = new ContrDiscUpload
            {
                Batchno          = context.pf_loandisc.FirstOrDefault().batchno,
                processingperiod = HttpContext.Session.GetInt32("processingYear") + "" + HttpContext.Session.GetInt32("processingMonth"),
                getloan          = loantypeService.GetLoanTypes().ToList()
            };

            return(View(con));
        }