Beispiel #1
0
 public string SysPermissionUpdate(T_SYS_PERMISSION obj)
 {
     using (SysPermissionBLL bll = new SysPermissionBLL())
     {
         string keyString = "PermissionAllPagingCache";
         WCFCache.Current[keyString] = null;//清缓存
         string AddkeyString = "GetSysPermissionByID" + obj.PERMISSIONID;
         WCFCache.Current[AddkeyString] = null;
         return bll.SysPermissionUpdate(obj);
     }
 }
Beispiel #2
0
 public string SysPermissionAdd(T_SYS_PERMISSION obj)
 {
     using (SysPermissionBLL bll = new SysPermissionBLL())
     {
         string keyString = "PermissionAllPagingCache" ;
         WCFCache.Current[keyString] = null;//清缓存
         return bll.AddPermission(obj);
     }
     //bll.Add(obj);
 }