public void Remover(int id) { _departamentoRepositorio.Excluir(t => t.Id == id); _departamentoRepositorio.SalvarTodos(); }