I need to programmatically add contact to a contact list. How to do this in Sitecore 9.0.1? I find a documentation. Here it says this below line will add contact to a list.
Contact contact = client.Get<Contact>(
new ContactReference(contactId),
new ContactExpandOptions(new string[1] { "ListSubscriptions" })
);
contact.SetListSubscriptionsFacet(client, listId);
client.Submit();
But I don't see this contact on my list in List Manager. Do I need to do more thing to see this contact?