We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87925fe commit aaffc9cCopy full SHA for aaffc9c
src/YazilimAcademy.WebApi/Program.cs
@@ -1,3 +1,7 @@
1
+using YazilimAcademy.Application;
2
+using YazilimAcademy.Infrastructure;
3
+using YazilimAcademy.WebApi;
4
+
5
var builder = WebApplication.CreateBuilder(args);
6
7
// Add services to the container.
@@ -6,6 +10,10 @@
10
// Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi
11
builder.Services.AddOpenApi();
8
12
13
+builder.Services.AddApplication();
14
+builder.Services.AddInfrastructure(builder.Configuration);
15
+builder.Services.AddWebApi();
16
9
17
var app = builder.Build();
18
19
// Configure the HTTP request pipeline.
0 commit comments