private void ignoreRequest(User user) { string message = "Group " + groupID.ToString() + " has ignored your request!"; user.removeInvite(groupID); groupRequests.Remove(user); }
private void acceptRequest(User user) { members.Add(user); user.removeInvite(groupID); groupRequests.Remove(user); string message = "Group " + groupID + " has accepdet your request! \tWelcome!"; user.addGroup(groupID); user.addNews(message); }