private static List <GanttTaskDto> GetNtWorkItemsInCollection(string collectionUri, string teamProjectName, GanttInput input)
        {
            var witClient           = GetWitClient(collectionUri);
            var workHttpClient      = GetWorkHttpClient(collectionUri);
            var iterations          = workHttpClient.GetTeamIterationsAsync(new TeamContext(teamProjectName)).Result;
            var workItemQueryResult = GetWorkItemQueryResult(teamProjectName, witClient, iterations, input.NtTeamMembers, input.Start, input.End, out var workItemLinks);

            if (!workItemLinks.Any())
            {
                return(new List <GanttTaskDto>());
            }
            var ntWorkItems = GetGanttTasksDto(workItemLinks, witClient, workItemQueryResult, teamProjectName, iterations);

            return(ntWorkItems);
        }
        public List <GanttTaskDto> GetWorkItems([FromBody] GanttInput input)
        {
            var ntCloudWorkItems = GetNtWorkItemsInCollection(URL_COLLECTION_NTCLOUD, NAME_PROJECT_NTCLOUD, input);

            return(ntCloudWorkItems);
        }