public AddStudyProgrammeViewModel(IStudyProgrammeRepository repository, StudyProgramme original)
 {
     repository.ThrowIfNull("repository");
     original.ThrowIfNull("original");
     this.windowName = "Uprav: Študijný program";
     this.repository = repository;
     this.original   = original;
     this.ResetToDefault();
 }
예제 #2
0
 public StudentRepository(string connectionString, IStudyProgrammeRepository studyProgrammeRepository)
     : base(connectionString, SELECT_SINGLE, SELECT, SAVE, DELETE)
 {
     studyProgrammeRepository.ThrowIfNull("studyProgrammeRepository");
     this.studyProgrammeRepository = studyProgrammeRepository;
 }