public async Task <IActionResult> ChooseLoan() { ViewData["CurrencyId"] = new SelectList(await _ICurrencyService.GetAll(), "Id", "Name"); var model = await _ILoanTypeService.GetLoanTypes(); return(View(model)); }
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)); }
public async Task <IActionResult> printLoanPerRank(string loancode) { var fg = fundService.GetLoanTypes(); ViewBag.contributionList = new SelectList(fg, "Code", "Description", loancode); if (string.IsNullOrEmpty(loancode)) { return(View()); } var result = services.GetAll(loancode); return(await generatePdf.GetPdf("Views/LoanPerRank/LoanPerRankReport.cshtml", result)); }
public async Task <IActionResult> printloan() { var listloan = loantypeService.GetLoanTypes(); return(await generatePdf.GetPdf("Views/LoanType/LoanReport.cshtml", listloan)); }
public IEnumerable <Pf_loanType> Get() { return(loantypeService.GetLoanTypes()); }
public ActionResult <List <LoanType> > GetLoanTypes() { return(_loanTypeService.GetLoanTypes()); }
public async Task <IActionResult> Index() { return(View(await _loanTypeService.GetLoanTypes())); }