Example #1
0
def delete_user(user_id):
    User.delete_user({"id": user_id})

    return redirect("/users")
Example #2
0
def delete_user(user_id ): 
    data={
        "id":user_id
    }
    User.delete_user(data)
    return redirect("/users")