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