public static ExamCreatingDto GetExamCreatingDto() { return(new ExamCreatingDto { CourseId = CourseTestUtils.GetCourse().Id, Date = MyDateTime, Classrooms = new List <Guid>() }); }
public static Domain.Entities.Exam GetExam() { if (exam == null) { exam = new Domain.Entities.Exam(MyDateTime, CourseTestUtils.GetCourse()); } return(exam); }
public static ExamDto GetExamDto(Guid id) { return(new ExamDto(id, CourseTestUtils.GetCourse().Id, MyDateTime)); }