Exemplo n.º 1
0
        public Entidades.Designaciones RecuperarTodos()
        {
            Datos.Designaciones oDatos;

            try
            {
                oDatos = new Datos.Designaciones();
                return oDatos.RecuperarTodos();
            }

            finally
            {
                oDatos = null;
            }
        }
Exemplo n.º 2
0
        public void Modificar(Entidades.Designacion item)
        {
            Datos.Designaciones oDatos;

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

            finally
            {
                oDatos = null;
            }
        }
Exemplo n.º 3
0
        public void Borrar(int IdDesignacion)
        {
            Datos.Designaciones oDatos;

            try
            {
                oDatos = new Datos.Designaciones();
                oDatos.Borrar(IdDesignacion);
            }

            finally
            {
                oDatos = null;
            }
        }
Exemplo n.º 4
0
        public bool ExisteDesignacion(int id)
        {
            Datos.Designaciones oDatos;

            try
            {
                oDatos = new Datos.Designaciones();
                return oDatos.ExisteDesignacion(id);
            }

            finally
            {
                oDatos = null;
            }
        }
Exemplo n.º 5
0
        public int Agregar(Entidades.Designacion item)
        {
            Datos.Designaciones oDatos;

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

            finally
            {
                oDatos = null;
            }
        }