예제 #1
0
        private void populateStudentServicesSection(Wrappers.StudentServices ss)
        {
            StudentServicesTitle.Text = ss.title;
            Wrappers.AcademicAdvisors    academicAdvisors    = ss.academicAdvisors;
            Wrappers.ProfessonalAdvisors professonalAdvisors = ss.professonalAdvisors;
            Wrappers.FacultyAdvisors     facultyAdvisors     = ss.facultyAdvisors;
            Wrappers.IstMinorAdvising    istMinorAdvising    = ss.istMinorAdvising;

            popAcademicAdvisors(academicAdvisors);
            popProfessionalAdvisors(professonalAdvisors);
            popFacultyAdvisors(facultyAdvisors);
            popIstMinorAdvising(istMinorAdvising);
        }
예제 #2
0
        private async void populateRecoursesAsync(object sender)
        {
            HttpResponseMessage response = await client.GetAsync(API_RESOURCES);

            if (response.IsSuccessStatusCode)
            {
                resources = await response.Content.ReadAsAsync <Wrappers.Resources>();

                studyAbroad        = resources.studyAbroad;
                studentServices    = resources.studentServices;
                tutorsAndLabInfo   = resources.tutorsAndLabInformation;
                studentAmbassadors = resources.studentAmbassadors;

                MainHeader.Text              = resources.title;
                StudyAbroadTitle.Text        = studyAbroad.title;
                StudentServicesTitle.Text    = studentServices.title;
                TutorsAndLabInfoTitle.Text   = tutorsAndLabInfo.title;
                StudentAmbassadorsTitle.Text = studentAmbassadors.title;

                populateStudyAbroadSection(studyAbroad);
                populateStudentServicesSection(studentServices);
                populateTutorsAndLabInfo(tutorsAndLabInfo);
            }
        }