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)); }
public GetSprintDetailActivesHandler(ISprintDetailRepository sprintRepository) { _sprintDetailRepository = sprintRepository ?? throw new ArgumentNullException(nameof(sprintRepository)); }