Esempio n. 1
0
        private void LoadGroupLoanApplicationDropDowns()
        {
            List <GroupLookupDto> lstGroupDto = _groupService.Lookup();
            SelectList            lstgroup    = new SelectList(lstGroupDto, "GroupID", "GroupCode");

            ViewBag.GroupNames = lstgroup;

            List <SelectListDto> lstProjects = _projectService.GetProjectSelectList();
            SelectList           slProjects  = new SelectList(lstProjects, "ID", "Text");

            ViewBag.projects = slProjects;

            List <LoanPurposeLookupDto> lstLoanpurposeDto = _loanpurposeService.Lookup();
            SelectList lstloanpurpose = new SelectList(lstLoanpurposeDto, "LoanPurposeID", "Purpose");

            ViewBag.LoanPurposeName = lstloanpurpose;
            List <FundSourceLookup> lstFundSourseDto = _fundsourseService.Lookup();
            SelectList lstfundsourse = new SelectList(lstFundSourseDto, "FundSourceID", "FundSourceName");

            ViewBag.FundSourse = lstfundsourse;
        }
Esempio n. 2
0
        public ActionResult FundSourceLookUp()
        {
            var lstfundsourse = _fundSourceService.Lookup();

            return(View(lstfundsourse));
        }