Esempio n. 1
0
 public static ShortClassGradesSummary Create(SectionGradesSummary sectionGrades, ClassDetails cClass, IList <Student> studentsInfo)
 {
     return(new ShortClassGradesSummary
     {
         Class = cClass,
         Students = ShortStudentClassGradesSummary.Create(sectionGrades.Students.ToList(), studentsInfo)
     });
 }
 public static ShortStudentGradingViewData Create(ShortStudentClassGradesSummary studentClassGrades)
 {
     return(new ShortStudentGradingViewData(studentClassGrades.Student)
     {
         Avg = studentClassGrades.Avg,
         Exempt = studentClassGrades.Exempt
     });
 }