public EnderecosController( IMapper mapper, IEnderecoQueryRepository enderecoQueryRepository, INotificationHandler <DomainNotification> notifications, IMediatorHandler bus) : base(notifications, bus) { _mapper = mapper; _enderecoQueryRepository = enderecoQueryRepository; }
public EnderecoCommandHandler(INotificationHandler <DomainNotification> notifications, IMediatorHandler mediator, IEnderecoQueryRepository enderecoQueryRepository, IEnderecoCommandRepository enderecoCommandRepository, IUsuarioQueryRepository usuarioQueryRepository) : base(mediator, notifications) { _mediator = mediator; _enderecoQueryRepository = enderecoQueryRepository; _enderecoCommandRepository = enderecoCommandRepository; _usuarioQueryRepository = usuarioQueryRepository; }
public PedidoCommandHandler(INotificationHandler <DomainNotification> notifications, IMediatorHandler mediator, IPedidoQueryRepository pedidoQueryRepository, IPedidoCommandRepository pedidoCommandRepository, IProdutoQueryRepository produtoQueryRespository, IUsuarioQueryRepository usuarioQueryRepository, ISaldoQueryRepository saldoQueryRepository, ISaldoCommandRepository saldoCommandRepository, IEnderecoQueryRepository enderecoQueryRepository, PedidoValidator pedidoValidator) : base(mediator, notifications) { _mediator = mediator; _pedidoQueryRepository = pedidoQueryRepository; _pedidoCommandRepository = pedidoCommandRepository; _produtoQueryRepository = produtoQueryRespository; _usuarioQueryRepository = usuarioQueryRepository; _saldoQueryRepository = saldoQueryRepository; _pedidoValidator = pedidoValidator; _saldoCommandRepository = saldoCommandRepository; _enderecoQueryRepository = enderecoQueryRepository; }