Пример #1
0
def logoutUser(form):
    user = Persister.getPerson(form.get('id'))
    if Persister.logoutUser(user):
        return {"responseCode": 200, "boolean": True}
    return {"responseCode": 500, "boolean": False}
Пример #2
0
def logoutUser(form):
    user = Persister.getPerson(form.get('id'))
    return Persister.logoutUser(user)