public ShopCartController(IProductService productService, IOrderProcessorService orderService, ISalesTerritoryService salesService, IShopCartItemService shopCartItemService, ICustomerAddressService addressService) { this.productService = productService; this.orderService = orderService; this.salesService = salesService; this.shopCartItemService = shopCartItemService; this.addressService = addressService; }
public ProductController(IProductCatalogService dataRepository, IProductPhotoService photoRepository, IShopCartItemService shopCartItemService) { this.dataRepository = dataRepository; this.photoRepository = photoRepository; }