delete domain logic example