diff --git a/DocumentOperator.API/Program.cs b/DocumentOperator.API/Program.cs index 5492a1f..28de095 100644 --- a/DocumentOperator.API/Program.cs +++ b/DocumentOperator.API/Program.cs @@ -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)