1
0

Fix values duplicate on multiple files

This commit is contained in:
Serghei Cebotari 2025-01-15 15:20:16 +03:00
parent be127319e2
commit c1b7be71c9

View File

@ -8,13 +8,11 @@ namespace RhSolutions.SkuParser.Api.Services;
public class BsExcelParser : ISkuParser public class BsExcelParser : ISkuParser
{ {
private IConfiguration configuration; private IConfiguration configuration;
// private Dictionary<Product, double> result;
private const int rowsLookupCount = 20; private const int rowsLookupCount = 20;
private const decimal vat = 1.2M; private const decimal vat = 1.2M;
public BsExcelParser(IConfiguration configuration) public BsExcelParser(IConfiguration configuration)
{ {
this.configuration = configuration; this.configuration = configuration;
// result = new();
} }
public Dictionary<Product, double> ParseProducts(IFormFile file) public Dictionary<Product, double> ParseProducts(IFormFile file)