add deleteView, add delete() method in repository, delete JsonRepositoryObject