Example #1
0
        public Entidades.Planes RecuperarTodos()
        {
            Datos.Planes oDatos;

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

            finally
            {
                oDatos = null;
            }
        }
Example #2
0
        public void Modificar(Entidades.Plan item)
        {
            Datos.Planes oDatos;

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

            finally
            {
                oDatos = null;
            }
        }
Example #3
0
        public void Borrar(int IdPlan)
        {
            Datos.Planes oDatos;

            try
            {
                oDatos = new Datos.Planes();
                oDatos.Borrar(IdPlan);
            }

            finally
            {
                oDatos = null;
            }
        }
Example #4
0
        public bool ExistePlan(int id)
        {
            Datos.Planes oDatos;

            try
            {
                oDatos = new Datos.Planes();
                return oDatos.ExistePlan(id);
            }

            finally
            {
                oDatos = null;
            }
        }
Example #5
0
        public int Agregar(Entidades.Plan item)
        {
            Datos.Planes oDatos;

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

            finally
            {
                oDatos = null;
            }
        }