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


            return(View(geatAll));
        }
Exemple #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());
        }
Exemple #3
0
 // GET: AccountNatures
 public IActionResult Index()
 {
     return(View(_accNatureAppService.GetAll()));
 }