(last_name, first_name, age)
return jsonify({"user": user.json})
Update an user based on the sent information
Update an user based on the sent information
Update an user based on the sent information
def put(last_name, first_name, age):
        """ Update an user based on the sent information """
        repository = UserRepository()
        user = repository.update(last_name=last_name, first_name=first_name, age=age)
        return jsonify({"user": user.json})
def put ( last_name , first_name , age ) : repository = UserRepository ( ) user = repository . update ( last_name = last_name , first_name = first_name , age = age ) return jsonify ( { "user" : user . json } )