make the 'delete' method return success or error