public static void GenerateNodeIds() { CreateTestChart("GenerateNodeIdsChart"); var chartService = new ChartService(); var optionsGenerateNodeIds = new OptionsGenerateNodeIds { ChartId = "GenerateNodeIdsChart", Number = 10 }; var resultGenerateNodeIds = chartService.GenerateNodeIds(optionsGenerateNodeIds); if (!resultGenerateNodeIds.IsSuccess) { Console.WriteLine(resultGenerateNodeIds.Error); } else { foreach (var id in resultGenerateNodeIds.Ids) { Console.WriteLine(id); } } }