private void WriteLineProjects(Project project)
        {
            Console.WriteLine("Project => {0} : {1}", project.Id, project.Name);

            foreach (var buildType in project.BuildTypes.BuildType)
            {
                var task = _teamCityClient.GetBuildTypeDetailsAsync(buildType);
                task.ContinueWith(t => WriteLineBuildTypes(t.Result));
            }
        }
 private Task<Project> GetProjectDetailAsync(Project project)
 {
     return _restClient.GetAsync<Project>(GetRestRequestFor(project.Href));
 }