Пример #1
0
 public BulkDiscount(IFinalPrice adjustedCart, IDiscountVariablesRepository discountVariablesRepository) : base(adjustedCart)
 {
     _discountVariablesRepository = discountVariablesRepository;
 }
Пример #2
0
 public ShoppingCartCalculator(IDiscountVariablesRepository discountVariablesRepository, IOrderRepository orderRepository)
 {
     _discountVariablesRepository = discountVariablesRepository;
     _orderRepository             = orderRepository;
 }