예제 #1
0
 public void DevolucaoPagamentoVenda(int idUsuario, decimal valorVendaDevolvido)
 {
     try
     {
         novaFormaPgto = new AcessoDados.FormaPagamentoAcessoDados();
         novaFormaPgto.DevolucaoPagamentoVenda(idUsuario, valorVendaDevolvido);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
예제 #2
0
 public DataTable PesquisarUltimaVenda(int numCupom)
 {
     try
     {
         novaFormaPgto = new AcessoDados.FormaPagamentoAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaFormaPgto.DevolucaoPagamentoVenda(numCupom);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }