public static Grade GetGradeWithValue() { if (gradeWithValue == null) { gradeWithValue = new Grade(9, 10, DateTime.Now, StudentTestUtils.GetStudent2(), ExamTestUtils.GetExam()); } return(gradeWithValue); }
public static GradeDto GetGradeWithValueDto(Guid id, DateTime date) { return(new GradeDto(id, 9, 10, date, null, StudentTestUtils.GetStudent2().Id, ExamTestUtils.GetExam().Id)); }