public static bool FnCRolV(string Rol) { bool CreateRol = false; ClsRol ORol = new ClsRol(); ORol.Rol = Rol; CreateRol = new ClsRolN().FnCRolN(ORol); return(CreateRol); }
public static bool FnNRolV(string IdRol) { bool CloneRol = false; ClsRol ORol = new ClsRol(); ORol.Id_rol = IdRol; CloneRol = new ClsRolN().FnNRolN(ORol); return(CloneRol); }
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); }
public static bool FnDRolV(string IdRol) { bool DeleteRol = false; ClsRol ORol = new ClsRol(); ORol.Id_rol = IdRol; DeleteRol = new ClsRolN().FnDRolN(ORol); return(DeleteRol); }
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); }
public static List <ClsRol> FnRRolV() { List <ClsRol> ORol = new ClsRolN().FnRRolN(); return(ORol); }