示例#1
0
 public void PutCourse(CourseInstance course)
 {
     _courseRepository.Add(course);
     _courseRepository.Save();
 }
 public void PutFile(File file)
 {
     _fileRepository.Add(file);
     _fileRepository.Save();
 }
示例#3
0
 public void PutQuestion(Question question)
 {
     _questionRepository.Add(question);
     _questionRepository.Save();
 }
 public void PutProfessor(Professor professor)
 {
     _professorRepository.Add(professor);
     _professorRepository.Save();
 }
 public void PutMark(Mark mark)
 {
     _markRepository.Add(mark);
     _markRepository.Save();
 }
示例#6
0
 public void PutLaboratory(LaboratoryInstance laboratory)
 {
     _laboratoryRepository.Add(laboratory);
     _laboratoryRepository.Save();
 }
 public void PutHomework(Homework homework)
 {
     _homeworkRepository.Add(homework);
     _homeworkRepository.Save();
 }
示例#8
0
 public void PutStudent(Student student)
 {
     _studentRepository.Add(student);
     _studentRepository.Save();
 }
示例#9
0
 public void PutSeminar(SeminarInstance seminar)
 {
     _seminarRepository.Add(seminar);
     _seminarRepository.Save();
 }
 public void PutSubject(UniSubject subject)
 {
     _repository.Add(subject);
     _repository.Save();
 }
 public void PutAnswer(Answer answer)
 {
     _answerRepository.Add(answer);
     _answerRepository.Save();
 }
示例#12
0
 public void PutAttendance(Attendance attendance)
 {
     _attendanceRepository.Add(attendance);
     _attendanceRepository.Save();
 }