Exemple #1
0
        public bool ValidateUser(string username, string password)
        {
            this.DALConnection = new DALUsuario();

            CUsuario usuario = new CUsuario();      
            usuario.Usuario = username;
            usuario.Contrasena = password;
            
            usuario =  ((this.DALConnection as DALUsuario).Read(usuario) as CUsuario);

            if (usuario!=null)
                return true;
            else
                return false;

        }
Exemple #2
0
 public BLLUsuario()
 {
     this.DALConnection = new DALUsuario();
 }
Exemple #3
0
 public BLLBitacora()
 {
     this.DALConnection = new DALBitacora();
 }
Exemple #4
0
 public BLLEvento()
 {
     this.DALConnection = new DALEvento();
     this.DALAsociados = new DALAsociados();
 }
Exemple #5
0
 public BLLCierreMesa()
 {
     this.DALConnection = new DALCierreMesa();
 }