changes
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using WorkFlow.Application;
|
||||
using WorkFlow.Application.Contracts.AdminWorkFlow;
|
||||
using WorkFlow.Application.Contracts.WorkFlow;
|
||||
using WorkFlow.Domain.RollCallConfirmedAbsenceAgg;
|
||||
using WorkFlow.Domain.RollCallConfirmedWithoutLunchBreakAgg;
|
||||
using WorkFlow.Infrastructure.ACL.Checkout;
|
||||
using WorkFlow.Infrastructure.ACL.CustomizedWorkshopSettings;
|
||||
using WorkFlow.Infrastructure.ACL.EmployeeDocuments;
|
||||
using WorkFlow.Infrastructure.ACL.RollCall;
|
||||
using WorkFlow.Infrastructure.EfCore;
|
||||
using WorkFlow.Infrastructure.EfCore.Repository;
|
||||
@@ -16,7 +18,9 @@ namespace WorkFlow.Infrastructure.Config
|
||||
{
|
||||
public static void Configure(IServiceCollection services, string connectionString)
|
||||
{
|
||||
services.AddTransient<IWorkFlowApplication, WorkFlowApplication>();
|
||||
services.AddTransient<IWorkFlowApplication, WorkFlowApplication>();
|
||||
services.AddTransient<IAdminWorkFlowApplication, AdminWorkFlowApplication>();
|
||||
|
||||
services.AddTransient<IRollCallConfirmedAbsenceRepository, RollCallConfirmedAbsenceRepository>();
|
||||
services.AddTransient<IRollCallConfirmedWithoutLunchBreakRepository, RollCallConfirmedWithoutLunchBreakRepository>();
|
||||
|
||||
@@ -25,6 +29,7 @@ namespace WorkFlow.Infrastructure.Config
|
||||
services.AddTransient<IWorkFlowCheckoutACL, WorkFlowCheckoutACL>();
|
||||
services.AddTransient<IWorkFlowRollCallACL, WorkFlowRollCallACL>();
|
||||
services.AddTransient<IWorkFlowCustomizedWorkshopSettingsACL, WorkFlowCustomizedWorkshopSettingsACL>();
|
||||
services.AddTransient<IWorkFlowEmployeeDocumentsACL, WorkFlowEmployeeDocumentsACL>();
|
||||
|
||||
|
||||
services.AddDbContext<WorkFlowContext>(x =>
|
||||
|
||||
Reference in New Issue
Block a user