Beispiel #1
0
 private void AddConsentInformation(IXdbContext client, Contact contact)
 {
     if (checkBoxConsentRevoked.Checked || checkBoxDoNotMarket.Checked)
     {
         client.SetConsentInformation(contact, new ConsentInformation()
         {
             ConsentRevoked = checkBoxConsentRevoked.Checked,
             DoNotMarket    = checkBoxDoNotMarket.Checked
         });
     }
 }