public Pagamento LocalizarPrimeiro() { Pagamento result = null; using (Connection con = new Connection()) { con.Abrir(); IDAO <Pagamento> TableIDAO = new PagamentoDAO(con); result = TableIDAO.LocalizarPrimeiro(); } return(result); }
public Pagamento LocalizarPrimeiro() { Pagamento result = null; using (Connection con = new Connection()) { con.Abrir(); IDAO <Pagamento> TableIDAO = new PagamentoDAO(con); result = TableIDAO.LocalizarPrimeiro(); } return(result); }