public BasketBusinessComponent(IBasketRepository basketRepository, IProductBusinessComponent productBusinessComponent,
                                IShopDbTransactionManager shopDbTransactionManager)
 {
     _basketRepository         = basketRepository;
     _productBusinessComponent = productBusinessComponent;
     _shopDbTransactionManager = shopDbTransactionManager;
 }
Exemple #2
0
 public ProductController(IProductBusinessComponent productBusinessComponent, IMapper mapper,
                          IProductSortExpressionMapper productSortExpressionMapper)
 {
     _productBusinessComponent = productBusinessComponent;
     _mapper = mapper;
     _productSortExpressionMapper = productSortExpressionMapper;
 }
 public BasketController(IBasketBusinessComponent basketBusinessComponent,
                         IProductBusinessComponent productBusinessComponent, IMapper mapper)
 {
     _basketBusinessComponent = basketBusinessComponent;
     _mapper = mapper;
 }