Ejemplo n.º 1
0
 public Task HandleAsync(ProductWithdrew @event)
 {
     return(RemoveCacheAsync());
 }
Ejemplo n.º 2
0
 private void Apply(ProductWithdrew @event)
 {
     Status = ProductStatus.Draft;
 }