Пример #1
0
 public Excelmporter()
 {
     _service           = ServiceLocator.Current.GetInstance <IGeneralService>();
     _disciplines       = new List <DisciplineYear>();
     _newDisciplines    = new List <Discipline>();
     _newGroups         = new List <Group>();
     _workloads         = new List <DisciplineWorkload>();
     _disciplineYears   = new List <DisciplineYear>();
     _defaultDepartment = _service.GetAllDepartments().FirstOrDefault();
     _allDisciplines    = _service.GetAllDisciplines();
     _semesters         = _service.GetAllSemesters();
     _studyYears        = _service.GetAllStudyYears();
     _groups            = _service.GetAllGroups();
     _specialities      = _service.GetAllSpecialities();
     Log = new List <string>();
 }