static void GetReleaseTasks(ReleaseHttpClient rmClient) { int releaseId = 132; int releaseEnvironmentId = 168; int releaseDeployPhaseId = 129; var releaseTaskAcrossAllPhase = rmClient.GetTasksAsync(projectName, releaseId, releaseEnvironmentId).Result; var releaseTaskForAPhaseId = rmClient.GetTasksForTaskGroupAsync(projectName, releaseId, releaseEnvironmentId, releaseDeployPhaseId).Result; }