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