public SupportController(IStoryRepository storyRepository, IEmailSender emailSender, ICommingEventRepository upcommingEventsReposiotory) { Check.Argument.IsNotNull(storyRepository, "storyRepository"); Check.Argument.IsNotNull(emailSender, "emailSender"); Check.Argument.IsNotNull(upcommingEventsReposiotory, "upcommingEventsRepository"); _storyRepository = storyRepository; _emailSender = emailSender; _upcommingEventsReposiotory = upcommingEventsReposiotory; }
public CommingEventController(IDomainObjectFactory factory, ICommingEventRepository commingEventRepository, IEventAggregator aggregator) { Check.Argument.IsNotNull(factory, "factory"); Check.Argument.IsNotNull(commingEventRepository, "commingEventRepository"); Check.Argument.IsNotNull(aggregator, "aggregator"); _factory = factory; _commingEventRepository = commingEventRepository; _aggregator = aggregator; }
public CommingEventController(IDomainObjectFactory factory, ICommingEventRepository commingEventRepository, IEventAggregator aggregator, IGoogleService googleService) { Check.Argument.IsNotNull(factory, "factory"); Check.Argument.IsNotNull(commingEventRepository, "commingEventRepository"); Check.Argument.IsNotNull(aggregator, "aggregator"); Check.Argument.IsNotNull(googleService, "googleService"); _factory = factory; _commingEventRepository = commingEventRepository; _aggregator = aggregator; _googleService = googleService; }