Exemplo n.º 1
0
 //session builder and shop context will be injected by Unity container
 public ProductReviewRepository(ISessionBuilder sessionBuilder, Sitecore.Ecommerce.ShopContext shopContext)
 {
     Assert.ArgumentNotNull(sessionBuilder, "sessionBuilder");
     Assert.ArgumentNotNull(shopContext, "shopContext");
     _sessionBuilder = sessionBuilder;
     _shopContext    = shopContext;
 }
Exemplo n.º 2
0
 public ProductStockManager(Sitecore.Ecommerce.ShopContext shopContext, IProductStockRepository <ProductStock> productStockRepository, IProductRepository productRepository) : base(shopContext, productStockRepository, productRepository)
 {
 }