Beispiel #1
0
 public Boolean DelLock()
 {
     if (Session[Keys.SESSION_ADMIN_INFO] == null)
     {
         return(false);
     }
     else
     {
         Master master = Session[Keys.SESSION_ADMIN_INFO] as Master;
         if (rcm.GetRoleCompetence(master.RoleId, 1341))
         {
             string Lock = Request["Lock"];
             if (!string.IsNullOrEmpty(Lock) && alm.IsLock(Lock))
             {
                 return(alm.DelLock(Lock));
             }
         }
     }
     return(false);
 }