public void Delete(string RoleName, string ModuleName)
        {
            RoleModule rm = new RoleModule();

            rm.Dp          = _LoginObj.Dp;
            rm.ProductName = BaseFramework.ProductName;
            rm.RoleName    = RoleName;
            rm.ModuleName  = ModuleName;
            rm.SaveDelete();
        }
        public void Update(string RoleName,
                           string ModuleName, string NewDataSecurity, bool AllDocumentData)
        {
            RoleModule rm = new RoleModule();

            rm.Dp              = _LoginObj.Dp;
            rm.ProductName     = BaseFramework.ProductName;
            rm.RoleName        = RoleName;
            rm.ModuleName      = ModuleName;
            rm.DataSecurity    = NewDataSecurity;
            rm.AllDocumentData = AllDocumentData;
            rm.Save();
        }