public async Task <NewApplicationsViewModel> GetNewApplicationsViewModel(string userId) { var applicationSummary = await _applicationApiClient.GetApplicationCounts(userId); var applications = await _applicationApiClient.GetNewApplications(userId); var viewModel = new NewApplicationsViewModel(applicationSummary.NewApplications, applicationSummary.InProgressApplications, applicationSummary.ModerationApplications, applicationSummary.ClarificationApplications, applicationSummary.ClosedApplications); AddApplicationsToViewModel(viewModel, applications); return(viewModel); }