private SettingShedule GetSetting(int countOfWeeksInSem) { SettingsAplication stg = new SettingsAplication(); stg.CountEducationalWeekBySem = countOfWeeksInSem; return(new SettingShedule(stg.CountWeeksShedule, stg.CountDayEducationalWeek, stg.CountDaysShedule, stg.CountLessonsOfDay, stg.CountEducationalWeekBySem, stg.MaxCountLessonsOfWeekDay, stg.MaxCountLessonsOfWeekEnd, stg.FirstLessonsOfWeekDay, stg.FirstLessonsOfWeekEnd, stg.LastLessonsOfWeekDay, stg.LastLessonsOfWeekEnd)); }