def put(self, student_id): response = update_student(student_id, request.json) return response_format(response)
def delete(self, student_id): response = delete_student(student_id) if response: return response_format(response)
def get(self, student_id): response = get_student(student_id) return response_format(response)