public EventsController(
     IRepository repository,
     IProcessedContentRepository processedContentRepository,
     EventEmailBuilder emailBuilder,
     IRssFeedFactory rssFeedFactory,
     ILogger <EventsController> logger,
     IApplicationConfiguration config,
     BusinessId businessId,
     IFilteredUrl filteredUrl,
     CalendarHelper helper,
     ITimeProvider timeProvider,
     IDateCalculator dateCalculator,
     IStockportApiEventsService stockportApiEventsService)
 {
     _repository = repository;
     _processedContentRepository = processedContentRepository;
     _emailBuilder              = emailBuilder;
     _rssFeedFactory            = rssFeedFactory;
     _logger                    = logger;
     _config                    = config;
     _businessId                = businessId;
     _filteredUrl               = filteredUrl;
     _helper                    = helper;
     _dateCalculator            = dateCalculator;
     _stockportApiEventsService = stockportApiEventsService;
 }
Esempio n. 2
0
 public HomeController(BusinessId businessId, IApplicationConfiguration applicationConfiguration, INewsService newsService, IEventsService eventsService, IHomepageService homepageService, IStockportApiEventsService stockportApiService)
 {
     _config                    = applicationConfiguration;
     _businessId                = businessId;
     _newsService               = newsService;
     _eventsService             = eventsService;
     _homepageService           = homepageService;
     _stockportApiEventsService = stockportApiService;
 }