private readonly ISprintDetailRepository _repository; // we added this in order to resolve in mediatR

        public EventBusRabbitMQConsumer(IRabbitMQConnection connection, IMediator mediator, IMapper mapper, ISprintDetailRepository _repository)
        {
            _connection = connection ?? throw new ArgumentNullException(nameof(connection));
            _mediator   = mediator ?? throw new ArgumentNullException(nameof(mediator));
            _mapper     = mapper ?? throw new ArgumentNullException(nameof(mapper));
            _repository = _repository ?? throw new ArgumentNullException(nameof(_repository));
        }
 public UpdateIssueInSprintHandle(ISprintDetailRepository repository)
 {
     _repository = repository ?? throw new ArgumentNullException(nameof(repository));
 }
Example #3
0
 public GetSprintDetailActivesHandler(ISprintDetailRepository sprintRepository)
 {
     _sprintDetailRepository = sprintRepository ?? throw new ArgumentNullException(nameof(sprintRepository));
 }