public ArticleController(ArticleService articleService,
                          UsersService userService,
                          PdfService pdfService,
                          MailingSettingsService mailingSettingsService,
                          IDetectionService detectionService)
 {
     _articleService         = articleService;
     _userService            = userService;
     _pdfService             = pdfService;
     _mailingSettingsService = mailingSettingsService;
     _detectionService       = detectionService;
 }
Beispiel #2
0
 public ArticleService(ApplicationContext db, UsersService usersService, PdfService pdfService, IHubContext <ArticlesEventHub> signalrHub)
 {
     _db         = db;
     _pdfService = pdfService;
     _signalrHub = signalrHub;
 }