Esempio n. 1
0
 public TeeyootMessagingService(IRepository<MailTemplateSubjectRecord> subjectRepository, IRepository<MailChimpSettingsPartRecord> mailChimpSettingsRepository, IContentManager contentManager, IRepository<CampaignRecord> campaignRepository,
     IMailChimpSettingsService settingsService,
     IMessageService messageService,
      INotifier notifier,
     IRepository<OrderRecord> orderRepository,
     IRepository<LinkOrderCampaignProductRecord> ocpRepository,
     IRepository<UserRolesPartRecord> userRolesPartRepository,
     IRepository<PayoutRecord> payoutsRepository,
     IRepository<PaymentInformationRecord> payoutInformRepository,
     IWorkContextAccessor wca,
     IRepository<CampaignProductRecord> campaignProductRepository,
     IRepository<CurrencyRecord> currencyRepository,
     IRepository<BringBackCampaignRecord> backCampaignRepository)
 {
     _mailSubjectService = new MailSubjectService(subjectRepository);
     _mailChimpSettingsRepository = mailChimpSettingsRepository;
     _contentManager = contentManager;
     _messageService = messageService;
     _settingsService = settingsService;
     _notifier = notifier;
     _orderRepository = orderRepository;
     _ocpRepository = ocpRepository;
     _currencyRepository = currencyRepository;
     _campaignRepository = campaignRepository;
     _userRolesPartRepository = userRolesPartRepository;
     _payoutsRepository = payoutsRepository;
     _payoutInformRepository = payoutInformRepository;
     _wca = wca;
     _campaignProductRepository = campaignProductRepository;
     _backCampaignRepository = backCampaignRepository;
 }
Esempio n. 2
0
 public TeeyootUserService(
     IRepository <MailTemplateSubjectRecord> subjectRepository,
     IMailChimpSettingsService settingsService,
     IWorkContextAccessor wca)
 {
     _mailSubjectService = new MailSubjectService(subjectRepository);
     _settingsService    = settingsService;
     _wca = wca;
 }