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