Exemple #1
0
 public Task HandleAsync(BookIssuedDateChangedEvent evt)
 {
     _reportDataAccessor.UpdateBookIssuedDate(evt.AggregateId, evt.NewBookIssuedDate);
     return(_reportDataAccessor.CommitAsync());
 }
 public Task HandleAsync(BookDescriptionChangedEvent evt)
 {
     _reportDataAccessor.UpdateBookDescription(evt.AggregateId, evt.Description);
     return _reportDataAccessor.CommitAsync();
 }