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