Esempio n. 1
0
        public void Subscribe(SubscriptionInfo subscription)
        {
            var provider = new SubscriptionProvider(_subscriptionRepositoryFactory());
            SubscriptionResponse response = provider.Add(subscription);
            var emailMessage = EmailComposer.GetConfirmSubscriptionMail(response);

            EmailSender.SendEmail(emailMessage);
        }