public void Excluir(int idDependente) { var dependente = repository.SelectById(idDependente); repository.Delete(dependente); }