Ejemplo n.º 1
0
def register_users(request):
    users = request.json_body.get("users", "user was not provided")

    _user_controller = UserController.user_controller()
    _user_controller.register_users(users)

    return {"data": request.json_body.get("users", "user was not provided")}
Ejemplo n.º 2
0
def pic_user(request):
    _user_controller = UserController.user_controller()
    res = _user_controller.pic_user()

    return {"data": res}