def logoutUser(form): user = Persister.getPerson(form.get('id')) if Persister.logoutUser(user): return {"responseCode": 200, "boolean": True} return {"responseCode": 500, "boolean": False}
def logoutUser(form): user = Persister.getPerson(form.get('id')) return Persister.logoutUser(user)