Deletion implement in custom apps

Ajax methods used in deletion:
1. deletion_instances()
it's fetching the related concept of node and asked for delete confirmation.
and after confirmation, node as well as its related concept will be delete.