supplier und migration

This commit is contained in:
Tizian.Breuch
2025-07-23 12:33:01 +02:00
parent c3292d6739
commit 1fe88fac3a
8 changed files with 195 additions and 3 deletions

View File

@@ -66,6 +66,7 @@ builder.Services.AddAuthorization(); // Aktiviert die Autorisierung
// 4. Unsere eigenen Interfaces und Klassen registrieren (Dependency Injection)
builder.Services.AddScoped<IProductRepository, ProductRepository>();
builder.Services.AddScoped<ISupplierRepository, SupplierRepository>(); // NEU
// AUTH Services
builder.Services.AddScoped<IAuthService, AuthService>();
@@ -76,6 +77,7 @@ builder.Services.AddScoped<ProductService>(); // Ihr ProductService ist hier reg
// ADMIN Services
builder.Services.AddScoped<AdminUserService>();
builder.Services.AddScoped<AdminProductService>();
builder.Services.AddScoped<AdminSupplierService>(); // NEU
// CUSTOMER Services (sp<73>ter Implementierungen hinzuf<75>gen)
// builder.Services.AddScoped<CustomerOrderService>();