コード例 #1
0
        public async Task <IActionResult> Index()
        {
            var user = new AdminUser();
            await user.createAdmin(_userManager, _roleManager);

            return(View(await _db.blogModelD.ToListAsync()));
        }