Exemplo n.º 1
0
 public Boolean DelGame(int GameId)
 {
     if (Session[Keys.SESSION_ADMIN_INFO] == null)
     {
         return(false);
     }
     else
     {
         Master master = Session[Keys.SESSION_ADMIN_INFO] as Master;
         if (rcm.GetRoleCompetence(master.RoleId, 11233))
         {
             return(gm.DelGame(GameId));
         }
         else
         {
             return(false);
         }
     }
 }