Example #1
0
 public void AlteraStatusUsuarioFechado(int idUsuario)
 {
     try
     {
         novoUsuario = new AcessoDados.UsuarioAcessoDados();
         novoUsuario.AlterarStatusUsuarioFechado(idUsuario);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Example #2
0
 public void AlteraStatusUsuarioAberto(string senha)
 {
     try
     {
         novoUsuario = new AcessoDados.UsuarioAcessoDados();
         novoUsuario.AlterarStatusUsuarioAberto(senha);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Example #3
0
 public DataTable PesquisaLoginUsuario(string senha)
 {
     try
     {
         novoUsuario = new AcessoDados.UsuarioAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novoUsuario.PesquisaStatusUsuario(senha);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Example #4
0
 public DataTable PesquisaUsuarioLogado(int numCaixa)
 {
     try
     {
         novoUsuario = new AcessoDados.UsuarioAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novoUsuario.PesquisaUsuarioLogado(numCaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Example #5
0
 public DataTable PesquisaLoginAtuante(string numCaixaXml)
 {
     try
     {
         novoUsuario = new AcessoDados.UsuarioAcessoDados();
         DataTable dadosTanela = new DataTable();
         dadosTanela = novoUsuario.PesquisaLoginAtuante(numCaixaXml);
         return(dadosTanela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }