Esempio n. 1
0
 public void When(HappeningDeletionValidated e)
 {
     // Do nothing in purpose, this was a pure validation event that does not affect state
 }
Esempio n. 2
0
 public Task When(HappeningDeletionValidated e) =>
 // Do not use given happening id as aggregate id as this is the root list
 this.happeningsRepository.Execute(RootAggregateId, h => h.Delete(e.HappeningId));