Beispiel #1
0
 public async Task ExecuteAsync(DiscontinueProduct command)
 {
     await ExecuteAsync(command.ProductId, p => p.Discontinue());
 }
Beispiel #2
0
 public void Execute(DiscontinueProduct command)
 {
     Execute(command.ProductId, p => p.Discontinue());
 }