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 StudyProgrammeController(IStudyProgrammeRepository repository) { this.repository = repository; }
public StudentRepository(string connectionString, IStudyProgrammeRepository studyProgrammeRepository) : base(connectionString, SELECT_SINGLE, SELECT, SAVE, DELETE) { studyProgrammeRepository.ThrowIfNull("studyProgrammeRepository"); this.studyProgrammeRepository = studyProgrammeRepository; }
public AddStudyProgrammeViewModel(IStudyProgrammeRepository repository) : this(repository, new StudyProgramme()) { this.windowName = "Pridaj: Študijný program"; }