public EventsCalendarReportService(IEventsCalendarRepository repository, IEventsCalendarSubscriberService subscriberService) { if (repository == null) throw new ArgumentNullException("repository"); if (subscriberService == null) throw new ArgumentNullException("subscriberService"); _repository = repository; _subscriberService = subscriberService; }
public EventsCalendarReportService() { _repository = new EventsCalendarRepository(); _subscriberService = new EventsCalendarSubscriberService(); }