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); } }