def list_user(): userService = UserService() users = userService.find() return ""
def count_user(): userService = UserService() users = userService.find() count = users.count() return str(count)
def list_user(): userService = UserService() users = userService.find() resp = Response(users, status=200, mimetype='application/json') return resp