Example #1
0
 public Task Handle(V1.FulfillOrder command)
 => Handle(
     command.ClassifiedAdId,
     state => ClassifiedAd.FulfillOrder(
         state, command.When,
         command.ServiceTypes.Select(PaidService.Find)
         )
     );
 public Task Handle(V1.FulfillOrder command)
 => Handle(command.OrderId, Order.Fulfill);