public void ExecuteAction() { if (_priceAction == PriceAction.Increase) { _product.IncreasePrice(_amount); IsCommandExecuted = true; return; } IsCommandExecuted = _product.DecreasePrice(_amount); }