// Now let's use the Update helper method above to wire command messages to actual aggregate methods
 public void When(ProduceACar cmd)
 {
     Update(cmd, ar => ar.ProduceACar(cmd.EmployeeName, cmd.CarModel, _carBlueprintLibrary));
 }
Пример #2
0
 // Now let's use the Update helper method above to wire command messages to actual aggregate methods
 public void When(ProduceACar cmd)
 {
     Update(cmd, ar => ar.ProduceACar(cmd.EmployeeName, cmd.CarModel, _carBlueprintLibrary));
 }