private static List <WorkItemTypeModel> GetProcessWorkItemTypes(VssConnection connection, Process process) { WorkItemTrackingProcessHttpClient workClient = connection.GetClient <WorkItemTrackingProcessHttpClient>(); List <WorkItemTypeModel> types = workClient.GetWorkItemTypesAsync(process.Id).Result; return(types); }