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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user