/// <summary> /// ɾ���� /// </summary> public void DeleteGroup() { string groupId = Request.Params["groupId"]; string userId = Request.Params["userId"]; GroupRelation groupRelation = new GroupRelation(); if (groupRelation.ExistGroupUser(groupId, userId)) {// ���û����»������û� groupRelation.MoveToStrangerGroup(groupId); } UserGroup userGroup = new UserGroup(); if (userGroup.DeleteGroup(groupId)) {// ɾ����ɹ� WriteMessage("ɾ���ɹ���"); } else { WriteMessage("0"); } }