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