public ShopingCartController(IDrink drinkRepository, IShopingCart shopingCartRepository, ICategory categoryRepository, ShopingCard shopingCart) { _drinkRepository = drinkRepository; _shopingCartRepository = shopingCartRepository; _categoryRepository = categoryRepository; _shopingCart = shopingCart; }
public AddProductToCartUseCase(IProductRepository product, IShopingCart cart) { this.productRepository = product; this.shopingCart = cart; }
public ViewShoppingCartUseCase(IShopingCart shopingCart) { this.shopingCart = shopingCart; }