diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2025-04-28 16:43:14 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2025-04-28 16:43:14 +0300 |
commit | 1ec08919c353d1459c524442b81538fd57fe5e83 (patch) | |
tree | ca5fb19390ba3b03fc2f2395a7f2a6851bed6872 /RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs | |
parent | 52718a90922b569350e36baee5d4d3c3e5723fed (diff) |
Diffstat (limited to 'RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs')
-rw-r--r-- | RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs b/RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs index 6dfc0da..549b6c5 100644 --- a/RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs +++ b/RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs @@ -11,6 +11,13 @@ namespace RhSolutions.SkuParser.Services; /// </summary>
public class CommonCsvParser : ISkuParser
{
+ private readonly ILogger<CommonCsvParser> logger;
+
+ public CommonCsvParser(ILogger<CommonCsvParser> logger)
+ {
+ this.logger = logger;
+ }
+
public Dictionary<Product, double> ParseProducts(IFormFile file)
{
using StreamReader reader = new(file.OpenReadStream());
|