public CourseInstance GetCourse(Guid id) { var course = _courseRepository.FindBy(m => m.Id == id).FirstOrDefault(); return(course); }
public File GetFile(Guid id) { var file = _fileRepository.FindBy(m => m.Id == id).FirstOrDefault(); return(file); }
public Question GetQuestion(Guid id) { var question = _questionRepository.FindBy(s => s.Id == id).FirstOrDefault(); return question; }
public Professor GetProfessor(Guid id) { var professor = _professorRepository.FindBy(s => s.Id == id).FirstOrDefault(); return(professor); }
public Mark GetMark(Guid id) { var mark = _markRepository.FindBy(m => m.Id == id).FirstOrDefault(); return(mark); }
public LaboratoryInstance GetLaboratory(Guid id) { var laboratory = _laboratoryRepository.FindBy(m => m.Id == id).FirstOrDefault(); return(laboratory); }
public Homework GetHomework(Guid id) { var homework = _homeworkRepository.FindBy(m => m.Id == id).FirstOrDefault(); return(homework); }
public Student GetStudent(Guid id) { var student = _studentRepository.FindBy(s => s.Id == id).FirstOrDefault(); return(student); }
public SeminarInstance GetSeminar(Guid id) { var seminar = _seminarRepository.FindBy(m => m.Id == id).FirstOrDefault(); return(seminar); }
public UniSubject GetSubject(Guid id) { var subject = _repository.FindBy(s => s.Id == id).FirstOrDefault(); return(subject); }
public Answer GetAnswer(Guid id) { var question = _answerRepository.FindBy(s => s.Id == id).FirstOrDefault(); return(question); }
public Attendance GetAttendance(Guid id) { var attendance = _attendanceRepository.FindBy(a => a.Id == id).FirstOrDefault(); return(attendance); }