public void Salvar() { try { if (iId == 0) { aTbPaisDAO.Incluir(this); } else { aTbPaisDAO.Alterar(this); } } catch (Exception ex) { throw new Exception("salvar o registro"); } finally { Conexao.CloseConnection(); } }