//construtor para injeção de dependência public TarefaHandler(ITarefaCache tarefaCache, IMapper mapper) { this.tarefaCache = tarefaCache; this.mapper = mapper; }
public TarefaApplicationService(IMediator mediator, ITarefaCache tarefaCache) { this.mediator = mediator; this.tarefaCache = tarefaCache; }