Beispiel #1
0
 // GET: Suppliers/Create
 public ActionResult Create()
 {
     ViewBag.AppUserId = new SelectList(_appUserManger.GettAll(), "Id", "Name");
     return(View());
 }
Beispiel #2
0
        public ActionResult Index()
        {
            var appUser = _appUserManger.GettAll().Include(a => a.Role);

            return(View(appUser.ToList()));
        }