Defined getTotalCourseMarks in CourseCurve