public BasketController(IBasketBusiness _basketBusiness)
 {
     basketBusiness = _basketBusiness;
 }
示例#2
0
 public BasketController(IBasketBusiness basketBusiness, IMapper mapper, EventBusRabbitMqProducer eventBus)
 {
     _basketBusiness = basketBusiness ?? throw new ArgumentNullException(nameof(basketBusiness));
     _mapper         = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _eventBus       = eventBus ?? throw new ArgumentNullException(nameof(eventBus));
 }
示例#3
0
 public BasketController(IBasketBusiness basketBusiness)
 {
     _basketBusiness = basketBusiness;
 }