Exemple #1
0
        public bool Ingresar(string nombreUsuario, string password, string programa)
        {
            bool        ingreso     = false;
            UsuarioRepo usuarioRepo = new UsuarioRepo();

            ingreso = usuarioRepo.Ingresar(nombreUsuario, password, programa);
            return(ingreso);
            //throw new NotImplementedException();
        }
Exemple #2
0
        public bool Ingresar()
        {
            bool        ingreso     = false;
            UsuarioRepo usuarioRepo = new UsuarioRepo();

            ingreso = usuarioRepo.Ingresar(this.nombre, this.pasword);
            return(ingreso);
            //throw new NotImplementedException();
        }