aboutsummaryrefslogtreecommitdiff
path: root/RhSolutions.SkuParser.Api/Program.cs
diff options
context:
space:
mode:
authorSerghei Cebotari <serghei@cebotari.ru>2025-01-14 05:59:55 +0000
committerSerghei Cebotari <serghei@cebotari.ru>2025-01-14 05:59:55 +0000
commit7b6f2fedf1080c0ea96f4975f82700db3e12d783 (patch)
tree633b359c4c04f0b51c72beccc7d4c3348f7dc8ab /RhSolutions.SkuParser.Api/Program.cs
parent1b89c809651f58a0125b94c027699db32272b402 (diff)
Add devcontainers
Diffstat (limited to 'RhSolutions.SkuParser.Api/Program.cs')
-rw-r--r--RhSolutions.SkuParser.Api/Program.cs22
1 files changed, 11 insertions, 11 deletions
diff --git a/RhSolutions.SkuParser.Api/Program.cs b/RhSolutions.SkuParser.Api/Program.cs
index 44c642a..e0acec8 100644
--- a/RhSolutions.SkuParser.Api/Program.cs
+++ b/RhSolutions.SkuParser.Api/Program.cs
@@ -1,12 +1,12 @@
-using RhSolutions.SkuParser.Services;
-
-var builder = WebApplication.CreateBuilder(args);
-builder.Services
- .AddKeyedScoped<ISkuParser, CsvParser>("text/csv")
- .AddKeyedScoped<ISkuParser, ExcelParser>("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")
- .AddKeyedScoped<ISkuParser, ExcelParser>("application/vnd.ms-excel.sheet.macroenabled.12");
-builder.Services.AddControllers();
-
-var app = builder.Build();
-app.MapControllers();
+using RhSolutions.SkuParser.Services;
+
+var builder = WebApplication.CreateBuilder(args);
+builder.Services
+ .AddKeyedScoped<ISkuParser, CsvParser>("text/csv")
+ .AddKeyedScoped<ISkuParser, ExcelParser>("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")
+ .AddKeyedScoped<ISkuParser, ExcelParser>("application/vnd.ms-excel.sheet.macroenabled.12");
+builder.Services.AddControllers();
+
+var app = builder.Build();
+app.MapControllers();
app.Run(); \ No newline at end of file