Refactor delete operation to single and bulk

Refactor of delete operation into a single delete and bulk to separate logic.