public void DevolucaoPagamentoVenda(int idUsuario, decimal valorVendaDevolvido) { try { novaFormaPgto = new AcessoDados.FormaPagamentoAcessoDados(); novaFormaPgto.DevolucaoPagamentoVenda(idUsuario, valorVendaDevolvido); } catch (Exception ex) { throw new Exception(ex.Message); } }
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); } }