예제 #1
0
 public async Task ExecuteAsync(ChangePrice command)
 {
     await ExecuteAsync(command.ProductId, p => p.SetPrice(command.NewPrice));
 }
예제 #2
0
 public void Execute(ChangePrice command)
 {
     Execute(command.ProductId, p => p.SetPrice(command.NewPrice));
 }