public static bool FnDElementoV(string IdElemento)
        {
            bool        DeleteElemento = false;
            ClsElemento OElemento      = new ClsElemento();

            OElemento.Id_elemento = IdElemento;

            DeleteElemento = new ClsElementoN().FnDElementoN(OElemento);

            return(DeleteElemento);
        }
        public static bool FnEElemAE(string EIdEl, string EAspE, string EIdVi)
        {
            bool        ExisteEA = false;
            ClsElemento OElem    = new ClsElemento();

            OElem.Id_elemento      = EIdEl;
            OElem.Idaspelemento    = EAspE;
            OElem.ObjVista.Idvista = EIdVi;

            ExisteEA = new ClsElementoN().FnEElemAE(OElem); // enviar a capa N

            return(ExisteEA);
        }
        public static bool FnEElemEl(string EIdEl, string EElem, string EIdTC, string EIdVi)
        {
            bool        ExisteEE = false;
            ClsElemento OElem    = new ClsElemento();

            OElem.Id_elemento = EIdEl;
            OElem.Elemento    = EElem;
            OElem.ObjTipo_control.Idtipocontrol = EIdTC;
            OElem.ObjVista.Idvista = EIdVi;

            ExisteEE = new ClsElementoN().FnEElemEl(OElem); // enviar a capa N

            return(ExisteEE);
        }
        public static bool FnCElementoV(string Elemento, string ElementoAsp, string IdTipoControl, string IdVista)
        {
            bool        CreateElemento = false;
            ClsElemento OElemento      = new ClsElemento();

            OElemento.Elemento      = Elemento;
            OElemento.Idaspelemento = ElementoAsp;
            OElemento.ObjTipo_control.Idtipocontrol = IdTipoControl;
            OElemento.ObjVista.Idvista = IdVista;

            CreateElemento = new ClsElementoN().FnCElementoN(OElemento);

            return(CreateElemento);
        }
        public static List <ClsElemento> FnRElem()
        {
            List <ClsElemento> OElem = new ClsElementoN().FnRElem();

            return(OElem);
        }