public async Task SetSubscriptionAsync(string email, bool wantsSubscription, bool requireEmailConfirmationIfSubscribing)
 {
     if (wantsSubscription)
     {
         await manager.AddOrUpdateListMemberAsync(newsletterListId, email, requireEmailConfirmationIfSubscribing);
     }
     else
     {
         await manager.DeleteListMemberAsync(newsletterListId, email);
     }
 }
        public async Task TestAddListMemberAsSubscribed()
        {
            MailChimpManager manager = BuildMailChimpManager();
            string           email   = "*****@*****.**";

            await manager.AddOrUpdateListMemberAsync(newsletterTestListId, email, false);

            MailChimpManager.SubscriptionStatus status = await manager.GetListMemberStatusAsync(newsletterTestListId, email);

            Assert.IsTrue(status == MailChimpManager.SubscriptionStatus.Subscribed);
        }