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