def admin_del_permission(): if request.method == "POST": ids = request.values.get('id') data = common_del(Role, ids, db) return jsonify(data)
def admin_del_role(): if request.method == "POST": ids = request.values.get('id') data = common_del(Auth, ids, db) return jsonify(data)
def list_all_del(): if request.method == "POST": ids = request.values.get('id') data = common_del(Tasks, ids, db) return jsonify(data)