Ejemplo n.º 1
0
 public EventProductsModel(
     IEventInfoRetrievalService eventsService,
     IEventManagementService eventManagementService,
     IEventProductsManagementService eventProductsManagementService)
 {
     _eventsService                  = eventsService;
     _eventManagementService         = eventManagementService;
     _eventProductsManagementService = eventProductsManagementService;
 }
        public EventProductVariantsController(
            IEventInfoRetrievalService eventInfoRetrievalService,
            IEventProductsManagementService eventProductsManagementService)
        {
            _eventInfoRetrievalService = eventInfoRetrievalService ?? throw
                                             new ArgumentNullException(nameof(eventInfoRetrievalService));

            _eventProductsManagementService = eventProductsManagementService ?? throw
                                                  new ArgumentNullException(nameof(eventProductsManagementService));
        }
Ejemplo n.º 3
0
        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));
        }