Example #1
0
 public void FecharSangria(int idUsuario, int numCaixa)
 {
     try
     {
         novaSangria = new SangriaAcessoDados();
         novaSangria.FecharSangria(idUsuario, numCaixa);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Example #2
0
 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);
     }
 }
Example #3
0
 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);
     }
 }