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