public EventCollectionController( IEventCollectionManagementService eventCollectionManagementService, IEventCollectionRetrievalService eventCollectionRetrievalService) { _eventCollectionManagementService = eventCollectionManagementService ?? throw new ArgumentNullException(nameof(eventCollectionManagementService)); _eventCollectionRetrievalService = eventCollectionRetrievalService ?? throw new ArgumentNullException(nameof(eventCollectionRetrievalService)); }
public RegistrationOrderManagementService( ApplicationDbContext context, IRegistrationRetrievalService registrationRetrievalService, IRegistrationAccessControlService registrationAccessControlService, IEventCollectionRetrievalService eventCollectionRetrievalService) { _context = context ?? throw new ArgumentNullException(nameof(context)); _registrationRetrievalService = registrationRetrievalService ?? throw new ArgumentNullException(nameof(registrationRetrievalService)); _registrationAccessControlService = registrationAccessControlService ?? throw new ArgumentNullException(nameof(registrationAccessControlService)); _eventCollectionRetrievalService = eventCollectionRetrievalService ?? throw new ArgumentNullException(nameof(eventCollectionRetrievalService)); }