コード例 #1
0
        public async Task <IActionResult> UserListing()
        {
            var userList = await _appAdminService.GetUserList();

            if (userList == null)
            {
                userList = new List <UserListingViewModel>();
            }
            ViewBag.ScoreBandList = await _appAdminService.GetScores();

            return(View(userList));
        }
コード例 #2
0
        public async Task <IActionResult> CreateUser()
        {
            ViewBag.ScoreList = await _appAdminService.GetScores();

            return(View());
        }