public ExcluirEmpresaCommandHandle(IHandler handler,
                                    IDomainNotificationService notificationService,
                                    IEmpresaReadRepository empresaReadRepository,
                                    IUnitOfWork unitOfWork,
                                    IMapper mapper) : base(handler, notificationService)
 {
     this.empresaReadRepository = empresaReadRepository;
     this.mapper     = mapper;
     this.unitOfWork = unitOfWork;
 }
Beispiel #2
0
 public InserirUsuarioCommandHandle(IHandler handler,
                                    IDomainNotificationService notificationService,
                                    IUsuarioWriteRepository usuarioWriteRepository,
                                    IUsuarioReadRepository usuarioReadRepository,
                                    IEmpresaReadRepository empresaReadRepository,
                                    IUnitOfWork unitOfWork,
                                    IMapper mapper) : base(handler, notificationService)
 {
     this.usuarioWriteRepository = usuarioWriteRepository;
     this.usuarioReadRepository  = usuarioReadRepository;
     this.empresaReadRepository  = empresaReadRepository;
     this.mapper     = mapper;
     this.unitOfWork = unitOfWork;
 }