1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
RhSolutions.SkuParser/RhSolutions.SkuParser.Api/Program.cs

9 lines
252 B
C#
Raw Normal View History

2024-07-20 16:58:35 +03:00
using RhSolutions.SkuParser.Services;
2024-07-18 20:54:19 +03:00
2024-07-20 16:58:35 +03:00
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddKeyedScoped<ISkuParser, CsvParser>("text/csv");
builder.Services.AddControllers();
2024-07-18 20:54:19 +03:00
2024-07-20 16:58:35 +03:00
var app = builder.Build();
app.MapControllers();
app.Run();