diff --git a/EnvelopeGenerator.Infrastructure/DependencyExtensions.cs b/EnvelopeGenerator.Infrastructure/DependencyExtensions.cs index cdf35b92..484bee9b 100644 --- a/EnvelopeGenerator.Infrastructure/DependencyExtensions.cs +++ b/EnvelopeGenerator.Infrastructure/DependencyExtensions.cs @@ -12,6 +12,7 @@ using System.Reflection; using DigitalData.UserManager.Domain.Entities; using EnvelopeGenerator.Application.Common.Interfaces.Repositories; using EnvelopeGenerator.Application.Common.Interfaces.SQLExecutor; +using DigitalData.EmailProfilerDispatcher.Abstraction.Entities; namespace EnvelopeGenerator.Infrastructure; @@ -55,8 +56,14 @@ public static class DIExtensions services.AddDbRepository(opt => { + // scan EnvelopeGenerator opt.RegisterFromAssembly(typeof(Config).Assembly); + + // scan UserManager opt.RegisterFromAssembly(typeof(User).Assembly); + + // scan EmailProfilerDispatcher + opt.RegisterFromAssembly(typeof(EmailOut).Assembly); }); services.AddSQLExecutor();