Пример #1
0
        private void CreateGlobalUnsubscription(string unsubscriptionEmail)
        {
            var unsubscription = new UnsubscriptionInfo
            {
                UnsubscriptionEmail = unsubscriptionEmail,
            };

            unsubscription.Insert();
        }
Пример #2
0
        private void CreateUnsubscription(int issueId, int newsletterId, string unsubscriptionEmail)
        {
            var unsubscription = new UnsubscriptionInfo
            {
                UnsubscriptionEmail        = unsubscriptionEmail,
                UnsubscriptionNewsletterID = newsletterId,
                UnsubscriptionFromIssueID  = issueId,
            };

            unsubscription.Insert();
        }