Ignore multiply rows in name cell

This commit is contained in:
Serghei Cebotari 2023-08-04 15:41:40 +03:00
parent f19f8c6510
commit 2cb6b889b0

View File

@ -131,7 +131,7 @@ public class ExcelReader : IReader, IDisposable
Product p = new(sku.ToString())
{
ProductLines = new List<string>() { productLine.ToString() },
Name = name.ToString(),
Name = name.ToString().Split('\n').First(),
ProductMeasure = productMeasure
};