public TarefaController(ITarefaService tarefaService, IUsuarioService usuarioService, ITarefaAdapter tarefaAdapter) { _tarefaService = tarefaService; _usuarioService = usuarioService; _tarefaAdapter = tarefaAdapter; }
public TarefaService(ITarefaRepository tarefaRepository, IValidator <CriarTarefaRequest> criarTarefaRequestValidator, ITarefaAdapter tarefaAdapter, IValidator <AlterarTarefaRequest> alterarTarefaRequestValidator) { _tarefaRepository = tarefaRepository; _criarTarefaRequestValidator = criarTarefaRequestValidator; _tarefaAdapter = tarefaAdapter; _alterarTarefaRequestValidator = alterarTarefaRequestValidator; }