Esempio n. 1
0
        public EmailTemplateService(IEmailTemplateRepository emailTemplateRepository, IEmailTemplateEditModelFactory emailTemplateEditModelFactory,
                                    IEmailNotificationModelsFactory emailNotificationModelsFactory, IEmailTemplateMacroRepository emailTemplateMacroRepository,
                                    ITemplateMacroRepository templateMacroRepository, INotificationTypeRepository notificationTypeRepository, IEmailTemplateFormatter emailTemplateFormatter,
                                    IPhoneNotificationModelsFactory phoneNotificationModelsFactory)
        {
            _emailTemplateEditModelFactory = emailTemplateEditModelFactory;
            _emailTemplateRepository       = emailTemplateRepository;

            _emailNotificationModelsFactory = emailNotificationModelsFactory;
            _emailTemplateMacroRepository   = emailTemplateMacroRepository;
            _templateMacroRepository        = templateMacroRepository;
            _notificationTypeRepository     = notificationTypeRepository;
            _emailTemplateFormatter         = emailTemplateFormatter;
            _phoneNotificationModelsFactory = phoneNotificationModelsFactory;
        }
Esempio n. 2
0
 public EmailTemplateFormatter(IEmailTemplateEditModelFactory emailTemplateEditModelFactory)
 {
     _emailTemplateEditModelFactory = emailTemplateEditModelFactory;
 }