refactor(api): Pass IConfiguration to AddApplication

- Update AddApplication call with builder.Configuration parameter
- Required for license key reading from appsettings.json
This commit is contained in:
2026-07-21 16:52:32 +02:00
parent 97122d0bbd
commit 080c2ac2a0

View File

@@ -44,7 +44,7 @@ try
// ========================================
// 3. Services (Clean Architecture Layers)
// ========================================
builder.Services.AddApplication(); // Application Layer (MediatR, FluentValidation, Behaviors)
builder.Services.AddApplication(builder.Configuration); // Application Layer (MediatR, FluentValidation, Behaviors)
builder.Services.AddInfrastructure(); // Infrastructure Layer (DevExpress, Services)
builder.Services.AddControllers(); // Controllers (Controller-based API)