示例#1
0
        private void InitializeLists()
        {
            SubjectAssignmentServiceClient schedService = new SubjectAssignmentServiceClient();
            currentSY = schedService.GetCurrentSY();
            gradeLevels = new List<GradeLevel>(schedService.GetAllGradeLevels());
            gradeLevels.RemoveAll(x => x.GradeLev == "0");
            sections = new List<GradeSection>(schedService.GetAllSections());
            subjects = new List<Subject>(schedService.GetAllSubjects());

            timeslots = new List<Timeslot>(schedService.GetTimeslots());
            rooms = new List<Room>(schedService.GetAllRooms());
            teachers = new List<Teacher>(schedService.GetAllTeachers());
        }