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