private void UpdateFrom(AccountOverdrawAttemptedEvent @event) { _numberOfOverdraws++; }
public void Handle(AccountOverdrawAttemptedEvent e) { Notifications.Add(new Notification(e.AccountId, string.Format("Overdraw of {0} attempted.", e.Amount))); }
private void UpdateFrom(AccountOverdrawAttemptedEvent @event) { _numberOfOverdraws++; }
public void Handle(AccountOverdrawAttemptedEvent e) { Notifications.Add(new Notification(e.AccountId, string.Format("Overdraw of {0} attempted.", e.Amount))); }