This commit is contained in:
2025-10-27 21:39:50 -04:00
parent 31f723bea4
commit 2fecd5b315
22 changed files with 1198 additions and 14 deletions

View File

@@ -37,7 +37,7 @@ public class Module : IModule
builder.Services.AddScoped<ICatalogDbContextFactory, CatalogDbContextFactory>();
builder.Services.AddHostedService<DataSeeder>();
//builder.Services.AddHostedService<DataSeeder>();
builder.Services.AddScoped<INotificationService, NotificationService>();
@@ -47,6 +47,7 @@ public class Module : IModule
builder.Services.AddScoped<ICategoriesPageService, Categories.PageService>();
builder.Services.AddScoped<Home.Service>();
builder.Services.AddScoped<Products.ListingService>();
builder.Services.AddScoped<Products.DetailService>();
builder.Services.AddScoped<IProductListingService>(sp => sp.GetRequiredService<Products.ListingService>());
builder.Services.AddScoped<IHomePageService>(sp => sp.GetRequiredService<Home.Service>());