Esempio n. 1
0
 public HomeController(IBlogPostRepository blogPostRepository, Settings settings, IFeedGenerator feedGenerator, ISearchHelper searchHelper)
 {
     _blogPostRepository = blogPostRepository;
     _settings           = settings;
     _feedGenerator      = feedGenerator;
     _searchHelper       = searchHelper;
 }
Esempio n. 2
0
 public WebhookController(Settings settings,
                          INotificationTarget notificationTarget,
                          IHashVerify hashVerify,
                          IMessageQueue messageQueue,
                          ILogger <WebhookController> logger)
 {
     _settings           = settings;
     _notificationTarget = notificationTarget;
     _hashVerify         = hashVerify;
     _messageQueue       = messageQueue;
     _logger             = logger;
 }