Esempio n. 1
0
 public DataTable PesquisarUltimaVenda(int numcaixa, int idUsuarioLogado)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisarUltimaVenda(idUsuarioLogado, numcaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 2
0
 public DataTable PesquisarUltimaVenda()
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisarUltimaVenda();
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }