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; namespace WorkFlow.Infrastructure.Config { public class WorkFlowBootstrapper { public static void Configure(IServiceCollection services, string connectionString) { services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddDbContext(x => { x.UseSqlServer(connectionString); }); } } }