def api_clean_learning_plans():
    return json.dumps(lrs_service.clean_learning_plans(current_user.email))
def clean_all():
    records = lrs_service.clean_learning_plans(current_user.email)
    back_url = url_for('learningrecord.view_record')
    return render_template('learningrecord/clean.html', back_url=back_url)