public void TakeOutVegetable(Vegetable vegetable, int quantity) { _vegetableTray.TakeOut(vegetable, quantity); var vegetableQuantity = _vegetableTray.GetVegetableQuantity(); var insufficientVegetables = _vegetableTracker.GetInsufficientVegetableQuantity(vegetableQuantity, _configurationManager); _orderManager.OrderVegetables(insufficientVegetables); }
public void TakeOutVegetable(Vegetable vegetable, int quantity) { _vegetableTray.TakeOut(vegetable, quantity); }