Ejemplo n.º 1
0
        public void Modificar(Entidades.Profesor item)
        {
            Datos.Profesores oDatos;

            try
            {
                oDatos = new Datos.Profesores();
                oDatos.Modificar(item);
            }

            finally
            {
                oDatos = null;
            }
        }
Ejemplo n.º 2
0
        public bool ExisteNombreUsuario(string nombreUsuario)
        {
            Datos.Profesores oDatos;

            try
            {
                oDatos = new Datos.Profesores();
                return oDatos.ExisteNombreUsuario(nombreUsuario);
            }

            finally
            {
                oDatos = null;
            }
        }
Ejemplo n.º 3
0
        public bool ExisteLegajo(int legajo)
        {
            Datos.Profesores oDatos;

            try
            {
                oDatos = new Datos.Profesores();
                return oDatos.ExisteLegajo(legajo);
            }

            finally
            {
                oDatos = null;
            }
        }
Ejemplo n.º 4
0
        public void Borrar(int Legajo)
        {
            Datos.Profesores oDatos;

            try
            {
                oDatos = new Datos.Profesores();
                oDatos.Borrar(Legajo);
            }

            finally
            {
                oDatos = null;
            }
        }
Ejemplo n.º 5
0
        public int Agregar(Entidades.Profesor item)
        {
            Datos.Profesores oDatos;

            try
            {
                oDatos = new Datos.Profesores();
                return oDatos.Agregar(item);
            }

            finally
            {
                oDatos = null;
            }
        }
Ejemplo n.º 6
0
        public Entidades.Profesores RecuperarUno(int id)
        {
            Datos.Profesores oDatos;

            try
            {
                oDatos = new Datos.Profesores();
                return oDatos.RecuperarUno(id);
            }

            finally
            {
                oDatos = null;
            }
        }