public ManterTarefas(IRepositorioTarefa repositorioTarefa, IUnitOfWork unitOfWork) { this.repositorioTarefa = repositorioTarefa ?? throw new ArgumentNullException(nameof(repositorioTarefa)); this.unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); }
public OperacaoTarefa() { _repositorioTarefa = new RepositorioTarefa(); }