public async Task ThenTheTeamMembersArePopulatedToTheResponse() { //Act var actual = await _orchestrator.GetTeamMembers("ABF45", "123"); //Assert Assert.IsNotEmpty(actual.Data.TeamMembers); }
public async Task <ActionResult> ViewTeam(string hashedAccountId) { var response = await _employerTeamOrchestrator.GetTeamMembers(hashedAccountId, OwinWrapper.GetClaimValue(@"sub")); var flashMessage = GetFlashMessageViewModelFromCookie(); if (flashMessage != null) { response.FlashMessage = flashMessage; } return(View(response)); }