Beispiel #1
0
 public NewsletterController(INewsletterModelFactory newsletterModelFactory,
                             ILocalizationService localizationService,
                             IWorkContext workContext,
                             INewsLetterSubscriptionService newsLetterSubscriptionService,
                             IWorkflowMessageService workflowMessageService,
                             IStoreContext storeContext)
 {
     this._newsletterModelFactory        = newsletterModelFactory;
     this._localizationService           = localizationService;
     this._workContext                   = workContext;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._workflowMessageService        = workflowMessageService;
     this._storeContext                  = storeContext;
 }
Beispiel #2
0
 public NewsletterController(INewsletterModelFactory newsletterModelFactory,
                             ILocalizationService localizationService,
                             IWorkContext workContext,
                             INewsLetterSubscriptionService newsLetterSubscriptionService,
                             IWorkflowMessageService workflowMessageService,
                             IStoreContext storeContext,
                             CustomerSettings customerSettings,
                             IEmailSender emailSender)
 {
     this._newsletterModelFactory        = newsletterModelFactory;
     this._localizationService           = localizationService;
     this._workContext                   = workContext;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._workflowMessageService        = workflowMessageService;
     this._storeContext                  = storeContext;
     this._customerSettings              = customerSettings;
     this._emailSender                   = emailSender;
 }
 public FreemiumMedia_NewsletterBoxViewComponent(CustomerSettings customerSettings, INewsletterModelFactory newsletterModelFactory)
 {
     _customerSettings       = customerSettings;
     _newsletterModelFactory = newsletterModelFactory;
 }
Beispiel #4
0
 public NewsletterBoxViewComponent(CustomerSettings customerSettings, INewsletterModelFactory newsletterModelFactory)
 {
     this._customerSettings       = customerSettings;
     this._newsletterModelFactory = newsletterModelFactory;
 }
Beispiel #5
0
 public void SetUp()
 {
     _newsletterModelFactory = GetService <INewsletterModelFactory>();
 }