示例#1
0
        public async Task Execute(ReopenOrderCommand command)
        {
            OrderAggregate aggregate = await Retrieve(command.EntityId);

            aggregate.Reopen(command.NewCount);
            await session.Commit(command.EntityId);
        }