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)); }