public void FecharSangria(int idUsuario, int numCaixa) { try { novaSangria = new SangriaAcessoDados(); novaSangria.FecharSangria(idUsuario, numCaixa); } catch (Exception ex) { throw new Exception(ex.Message); } }
public DataTable PesquisarSomaTotalDia(int idUsuario, bool fechado, int numCaixa, bool tipo) { try { novaSangria = new SangriaAcessoDados(); DataTable dadosTabela = new DataTable(); dadosTabela = novaSangria.PesquisarSomaTotalDia(idUsuario, numCaixa, fechado, tipo); return(dadosTabela); } catch (Exception ex) { throw new Exception(ex.Message); } }
public DataTable PesquisarSangriaCaixa(int idUsuario, int numCaixa) { try { novaSangria = new AcessoDados.SangriaAcessoDados(); DataTable dadosTabela = new DataTable(); dadosTabela = novaSangria.PesquisarSangriaCaixa(idUsuario, numCaixa); return(dadosTabela); } catch (Exception ex) { throw new Exception(ex.Message); } }