Ejemplo n.º 1
0
 public BasketController(IBasketBusiness _basketBusiness)
 {
     basketBusiness = _basketBusiness;
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 3
0
 public BasketController(IBasketBusiness basketBusiness)
 {
     _basketBusiness = basketBusiness;
 }