Exemplo n.º 1
0
 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)));
 }