public void EnactCommand(WithdrawFunds command) { RecordEvent(new FundsWithdrawn { Amount = command.Amount }); if (IsOverdrawn) { RecordEvent(new Overdrawn { Balance = Balance }); } }