public ProductCatalogPresenter(IInitializeShoppingApplicationService initShoppingSvc, IFinalizeShoppingApplicationService finlShoppingSvc, IListProductsApplicationService <ProductListItem> listProductsSvc, IIncProductQuantityApplicationService <ProductDetail> incProdQuantitySvc, IDecProductQuantityApplicationService <ProductDetail> decProdQuantitySvc, ISetAsFavoriteApplicationService setAsFavoriteSvc, IListCategoryApplicationService <ProductCategory> listCategoriesSvc) { this.initShoppingSvc = initShoppingSvc; this.finlShoppingSvc = finlShoppingSvc; this.listProductsSvc = listProductsSvc; this.incProdQuantitySvc = incProdQuantitySvc; this.decProdQuantitySvc = decProdQuantitySvc; this.setAsFavoriteSvc = setAsFavoriteSvc; this.listCategoriesSvc = listCategoriesSvc; origList = null; filteredList = null; categoryIdFilter = -1; }
public ShoppingCartPresenter(IShoppingCartApplicationService <ProductListItem> shpCartSvc, IFinalizeShoppingApplicationService finlShoppingSvc) { this.shpCartSvc = shpCartSvc; this.finlShoppingSvc = finlShoppingSvc; }