DeleteAggregate
interface DeleteAggregate
Represents a command to delete an aggregate. This interface is part of the command handling mechanism, ensuring that the deletion of an aggregate can be managed and tracked.
Implementations of this interface are expected to provide the necessary logic to delete an aggregate, which may include removing the aggregate from the system, updating related entities , and ensuring that the operation is idempotent.