/// <summary> /// 删除一个权限分配 /// </summary> /// <param name="groupID"></param> /// <returns></returns> public bool DeleteGrant(int groupID) { if (_actionid == -1) { return(false); } ActionDAL dal = new ActionDAL(connectionString); return(dal.DeletePermissionGrant(_actionid, groupID)); }