Example #1
0
 public void On(ISubscriptionContext <string> context, BankAccountCreated evt)
 {
     Accounts.Add(evt.AccountId);
 }
Example #2
0
 public void On(ISubscriptionContext <Guid> context, BankAccountCreated evt)
 {
     Owner = evt.UserId;
 }