コード例 #1
0
 public NewslettersController(INewsletterRepository newsletterRepository, INewsletterSubscriptionRepository newsletterSubscriptionRepository, ICaseRepository caseRepository, INewsItemRepository newsItemRepository, IDownloadRepository downloadRepository, INewsletterService newsletterService)
 {
     _newsletterRepository             = newsletterRepository;
     _newsletterSubscriptionRepository = newsletterSubscriptionRepository;
     _caseRepository     = caseRepository;
     _newsItemRepository = newsItemRepository;
     _downloadRepository = downloadRepository;
     _newsletterService  = newsletterService;
 }
コード例 #2
0
 public NewsletterSubscriptionController(INewsletterSubscriptionRepository newsletterSubscriptionRepository)
 {
     _newsletterSubscriptionRepository = newsletterSubscriptionRepository;
 }