コード例 #1
0
        public async Task <IActionResult> Index()
        {
            User cur_user = await _userManager.GetUserAsync(HttpContext.User);

            ViewBag.userMail = cur_user.Email;
            ViewBag.time     = _infoService.StartTime().ToString();
            return(View(_userManager.Users.ToList()));
        }