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