def resource_delete_by_user_id(self, context, user_id): db_api.resource_delete(context, user_id)
def do_delete(self, context, resource_id): db_api.resource_delete(context, resource_id)