public async Task Execute(ReopenOrderCommand command) { OrderAggregate aggregate = await Retrieve(command.EntityId); aggregate.Reopen(command.NewCount); await session.Commit(command.EntityId); }
public async Task Execute(ReopenOrderCommand command) { OrderAggregate aggregate = await Retrieve(command.EntityId); aggregate.Reopen(command.NewCount); await session.Commit(command.EntityId); }