create CreateUserCommand with handler and mapping profile

This commit is contained in:
2025-08-29 14:31:36 +02:00
parent 777f20eddb
commit a7f6b94d20
4 changed files with 125 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ public static class DIExtensions
services.TryAddScoped<IReceiverRepository, ReceiverRepository>();
services.TryAddScoped<IEnvelopeReceiverReadOnlyRepository, EnvelopeReceiverReadOnlyRepository>();
services.AddDbRepository<EGDbContext, User>(context => context.Users).UseAutoMapper();
services.AddDbRepository<EGDbContext, Config>(context => context.Configs).UseAutoMapper();
services.AddDbRepository<EGDbContext, DocumentReceiverElement>(context => context.DocumentReceiverElements).UseAutoMapper();
services.AddDbRepository<EGDbContext, EnvelopeDocument>(context => context.EnvelopeDocument).UseAutoMapper();