示例#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));
 }