예제 #1
0
        public async Task <IActionResult> Users()
        {
            var dtos = await _memberService.AllUsers();

            var viewModels = _userViewModelMapper.MapFrom(dtos);
            var viewModel  = new HomePageViewModel()
            {
                UserViews     = viewModels,
                UserViewModel = new UserViewModel(),
            };

            return(View(viewModel));
        }