public CreateLevantamentoCommandHandler( ILevantamentoRepository levantamentoRepository, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications ) : base(bus, notifications) { _levantamentoRepository = levantamentoRepository; Bus = bus; }
public LevantamentosController( ILevantamentoRepository repository, IMediatorHandler mediator, INotificationHandler <DomainNotification> notifications ) : base(notifications, mediator) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); }
public LogSendedIntegrationEventHandler( ILevantamentoRepository levantamentoRepository ) { _levantamentoRepository = levantamentoRepository; }