예제 #1
0
 public SaleDiscounter(IDiscountProWorkflow discountWorkflow)
 {
     this.discountWorkflow = discountWorkflow;
 }
예제 #2
0
 public DiscountHelper(IDiscountProWorkflow discountService, IProductRepository productRepository, IOutletRepository outletRepository, IInventoryRepository inventoryRepository, IConfigService configService)
 {
     _discountService = discountService;
     _productRepository = productRepository;
     _outletRepository = outletRepository;
     _inventoryRepository = inventoryRepository;
     _configService = configService;
 }