Beispiel #1
0
 public static Grade GetInitialStateGrade()
 {
     if (initialStateGrade == null)
     {
         initialStateGrade = new Grade(StudentTestUtils.GetStudent(), ExamTestUtils.GetExam());
     }
     return(initialStateGrade);
 }
Beispiel #2
0
 public static GradeEditingDto GetGradeEditingDto()
 {
     return(new GradeEditingDto(0, 0, data, null, StudentTestUtils.GetStudent().Id, ExamTestUtils.GetExam().Id));
 }
Beispiel #3
0
 public static GradeCreationDto GetGradeCreationDto()
 {
     return(new GradeCreationDto(StudentTestUtils.GetStudent().Id, ExamTestUtils.GetExam().Id));
 }
Beispiel #4
0
 public static GradeDto GetInitialGradeDto(Guid id)
 {
     return(new GradeDto(id, 0, 0, data, null, StudentTestUtils.GetStudent().Id, ExamTestUtils.GetExam().Id));
 }