public NotificationsQueueingController( INotificationManagementService notificationManagementService, INotificationDeliveryService notificationDeliveryService, IProductRetrievalService productRetrievalService) { _notificationDeliveryService = notificationDeliveryService ?? throw new ArgumentNullException(nameof(notificationDeliveryService)); _notificationManagementService = notificationManagementService ?? throw new ArgumentNullException(nameof(notificationManagementService)); _productRetrievalService = productRetrievalService ?? throw new ArgumentNullException(nameof(productRetrievalService)); }
public EventProductsController( IProductRetrievalService productRetrievalService, IEventInfoRetrievalService eventInfoRetrievalService, IEventProductsManagementService eventProductsManagementService, IEventInfoAccessControlService eventInfoAccessControlService) { _productRetrievalService = productRetrievalService ?? throw new ArgumentNullException(nameof(productRetrievalService)); _eventInfoRetrievalService = eventInfoRetrievalService ?? throw new ArgumentNullException(nameof(eventInfoRetrievalService)); _eventProductsManagementService = eventProductsManagementService ?? throw new ArgumentNullException(nameof(eventProductsManagementService)); _eventInfoAccessControlService = eventInfoAccessControlService ?? throw new ArgumentNullException(nameof(eventInfoAccessControlService)); }