예제 #1
0
        public IActionResult Index()
        {
            var createdUsers = listUsers.Execute();

            var userModels = createdUsers.Select(user => new UserInfoModel
            {
                Id       = user.Id,
                Username = user.Username,
                Email    = user.Email
            }).ToList();;

            return(View(userModels));
        }