コード例 #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));
 }