public int GetTotalCredit(IDiploma diploma)
 {
     return(this.CoursesMark.Select(cm => diploma.GetCreditsByCourseMark(cm)).Sum());
 }