Migrazione controller stats e CalcRuid (complessa...)
This commit is contained in:
@@ -4,6 +4,7 @@ using EgwCoreLib.Lux.Data.Repository.Items;
|
||||
using EgwCoreLib.Lux.Data.Repository.Job;
|
||||
using EgwCoreLib.Lux.Data.Repository.Production;
|
||||
using EgwCoreLib.Lux.Data.Repository.Sales;
|
||||
using EgwCoreLib.Lux.Data.Repository.Stats;
|
||||
using EgwCoreLib.Lux.Data.Repository.Utils;
|
||||
using EgwCoreLib.Lux.Data.Services;
|
||||
using EgwCoreLib.Lux.Data.Services.Config;
|
||||
@@ -12,6 +13,7 @@ using EgwCoreLib.Lux.Data.Services.Items;
|
||||
using EgwCoreLib.Lux.Data.Services.Job;
|
||||
using EgwCoreLib.Lux.Data.Services.Production;
|
||||
using EgwCoreLib.Lux.Data.Services.Sales;
|
||||
using EgwCoreLib.Lux.Data.Services.Stats;
|
||||
using EgwCoreLib.Lux.Data.Services.Utils;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
@@ -52,6 +54,8 @@ namespace EgwCoreLib.Lux.Data
|
||||
services.TryAddScoped<IProductionPlantRepository, ProductionPlantRepository>();
|
||||
services.TryAddScoped<IResourceRepository, ResourceRepository>();
|
||||
services.TryAddScoped<ISellingItemRepository, SellingItemRepository>();
|
||||
services.TryAddScoped<IStatsAggrRepository, StatsAggrRepository>();
|
||||
services.TryAddScoped<IStatsDetailRepository, StatsDetailRepository>();
|
||||
services.TryAddScoped<ITagRepository, TagRepository>();
|
||||
services.TryAddScoped<ITemplateRepository, TemplateRepository>();
|
||||
services.TryAddScoped<ITemplateRowRepository, TemplateRowRepository>();
|
||||
@@ -82,6 +86,8 @@ namespace EgwCoreLib.Lux.Data
|
||||
services.TryAddScoped<IProductionPlantService, ProductionPlantService>();
|
||||
services.TryAddScoped<IResourceService, ResourceService>();
|
||||
services.TryAddScoped<ISellingItemService, SellingItemService>();
|
||||
services.TryAddScoped<IStatsAggrService, StatsAggrService>();
|
||||
services.TryAddScoped<IStatsDetailService, StatsDetailService>();
|
||||
services.TryAddScoped<ITagService, TagService>();
|
||||
services.TryAddScoped<ITemplateService, TemplateService>();
|
||||
services.TryAddScoped<ITemplateRowService, TemplateRowService>();
|
||||
@@ -91,6 +97,10 @@ namespace EgwCoreLib.Lux.Data
|
||||
services.TryAddScoped<DataLayerServices>();
|
||||
//services.TryAddScoped<IDataLayerServices, DataLayerServices>();
|
||||
|
||||
// aggiunta servizi finali Singleton...
|
||||
//services.TryAddSingleton<CalcRequestService>();
|
||||
|
||||
|
||||
return services;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user