public async Task Execute(CompleteOrderCommand command) { OrderAggregate aggregate = await Retrieve(command.EntityId); aggregate.Complete(); await session.Commit(command.EntityId); }
public async Task Execute(CompleteOrderCommand command) { OrderAggregate aggregate = await Retrieve(command.EntityId); aggregate.Complete(); await session.Commit(command.EntityId); }