示例#1
0
        public static bool FnCRolV(string Rol)
        {
            bool   CreateRol = false;
            ClsRol ORol      = new ClsRol();

            ORol.Rol  = Rol;
            CreateRol = new ClsRolN().FnCRolN(ORol);
            return(CreateRol);
        }
示例#2
0
        public static bool FnNRolV(string IdRol)
        {
            bool   CloneRol = false;
            ClsRol ORol     = new ClsRol();

            ORol.Id_rol = IdRol;
            CloneRol    = new ClsRolN().FnNRolN(ORol);
            return(CloneRol);
        }
示例#3
0
        public static bool FnERolV(string IdRol, string Rol)
        {
            bool   ExistRol = false;
            ClsRol ORol     = new ClsRol();

            ORol.Id_rol = IdRol;
            ORol.Rol    = Rol;
            ExistRol    = new ClsRolN().FnERolN(ORol);
            return(ExistRol);
        }
示例#4
0
        public static bool FnDRolV(string IdRol)
        {
            bool   DeleteRol = false;
            ClsRol ORol      = new ClsRol();

            ORol.Id_rol = IdRol;

            DeleteRol = new ClsRolN().FnDRolN(ORol);
            return(DeleteRol);
        }
示例#5
0
        public static bool FnURolV(string IdRol, string Rol)
        {
            bool   UpdateRol = false;
            ClsRol ORol      = new ClsRol();

            ORol.Id_rol = IdRol;
            ORol.Rol    = Rol;
            UpdateRol   = new ClsRolN().FnURolN(ORol);
            return(UpdateRol);
        }
示例#6
0
        public static List <ClsRol> FnRRolV()
        {
            List <ClsRol> ORol = new ClsRolN().FnRRolN();

            return(ORol);
        }