예제 #1
0
        public IActionResult Index()
        {
            var geatAll = _accNatureAppService.GetAll();


            return(View(geatAll));
        }
예제 #2
0
        public ActionResult Save(int ID)
        {
            ViewData["AccountNatureID"] = new SelectList(_accNatureAppService.GetAll().ToList(), "ID", "AccountNatureName");
            ViewData["AccountParentID"] = new SelectList(_accountAppService.GetAll().ToList(), "ID", "AccountName");

            return(View());
        }
예제 #3
0
 // GET: AccountNatures
 public IActionResult Index()
 {
     return(View(_accNatureAppService.GetAll()));
 }