/// <summary> /// Adds the client server groups. /// </summary> /// <param name="clientDatabaseId">The client database id.</param> /// <param name="serverGroups">The server groups.</param> public void AddClientServerGroups(uint clientDatabaseId, IEnumerable <uint> serverGroups) { lock (Container.lockGetClientServerGroups) { serverGroups.ForEach(m => QueryRunner.AddClientToServerGroup(m, clientDatabaseId)); Container.ClientServerGroupList.Remove(clientDatabaseId); } }