private void When(PhoneCallCharged phoneCallCharged) { _credit = _credit.Subtract(phoneCallCharged.CostOfCall); if (_freeCallAllowance != null) _freeCallAllowance.Subtract(phoneCallCharged.CoveredByAllowance); }
private void When(PhoneCallCharged phoneCallCharged) { _credit = _credit.Subtract(phoneCallCharged.CostOfCall); if (_freeCallAllowance != null) { _freeCallAllowance.Subtract(phoneCallCharged.CoveredByAllowance); } }