private void AddSupplierToCatalogB(DataProcessor instanceDataProcessor) { Console.WriteLine("Enter product SKU: "); string skuAddSupplier = Console.ReadLine(); Console.WriteLine("Enter supplierId: "); string supplierId = Console.ReadLine(); Console.WriteLine("Enter supplierName: "); string supplierName = Console.ReadLine(); Console.WriteLine("Enter barcodes separated by comma: "); string barCodes = Console.ReadLine(); if (barCodes != null) { string[] barcodeArray = barCodes.Split(','); instanceDataProcessor.AddSuppliers(skuAddSupplier, supplierId, supplierName, "B", barcodeArray.ToList()); } }