public async Task <IActionResult> Index() { var model = new UsersViewModel { Users = await _userServiceAPI.GetUsers() }; return(View(model)); }
public async Task <List <UserDTO> > GetUsers() { return(await _restClient.GetUsers()); }
public async Task <IActionResult> Index() { var model = new UsersViewModel { Users = await _userServiceAPI.GetUsers() }; return(View(model)); }
public async Task <List <UserDTO> > GetUsers() { return(await _restClient.GetUsers()); }