Example #1
0
 public ExternalEventsController(
     IExternalEventManagementService externalEventManagementService,
     IEventInfoRetrievalService eventInfoService)
 {
     _externalEventManagementService = externalEventManagementService ?? throw new ArgumentNullException(nameof(externalEventManagementService));
     _eventInfoService = eventInfoService ?? throw new ArgumentNullException(nameof(eventInfoService));
 }
Example #2
0
 public AddExternalEventModel(
     IEventSynchronizationService eventSynchronizationService,
     IEventInfoRetrievalService eventInfoRetrievalService,
     IExternalEventManagementService externalEventManagementService)
 {
     _eventSynchronizationService    = eventSynchronizationService ?? throw new ArgumentNullException(nameof(eventSynchronizationService));
     _eventInfoRetrievalService      = eventInfoRetrievalService ?? throw new ArgumentNullException(nameof(eventInfoRetrievalService));
     _externalEventManagementService = externalEventManagementService ?? throw new ArgumentNullException(nameof(externalEventManagementService));
 }