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(); }
public StudentRepository(string connectionString, IStudyProgrammeRepository studyProgrammeRepository) : base(connectionString, SELECT_SINGLE, SELECT, SAVE, DELETE) { studyProgrammeRepository.ThrowIfNull("studyProgrammeRepository"); this.studyProgrammeRepository = studyProgrammeRepository; }