public void AlterarCpfCliente(string cpf, int tipo, string nome) { try { novoTemp = new AcessoDados.TempAcessoDados(); novoTemp.AlterarCpfCliente(cpf, tipo, nome); } catch (Exception ex) { throw new Exception(ex.Message); } }
public DataTable PesquisarCpfTemp() { try { novoTemp = new AcessoDados.TempAcessoDados(); DataTable dadosTabela = new DataTable(); dadosTabela = novoTemp.PesquisarCpfTemp(); return(dadosTabela); } catch (Exception ex) { throw new Exception(ex.Message); } }