Esempio n. 1
0
        private void BtnApply_Click(object sender, RoutedEventArgs e)
        {
            var ls = viewModelObj.GetApplyData();

            js.UpdateSchoolRoot(ls, ApplyObj, SelectedSchool, SelectedMajor, SelectedClass);
            Close();
        }
        private void BtnApply_Click(object sender, RoutedEventArgs e)
        {
            List <Models.AddStudentModel> ls = viewModelObj.GetApplyData();

            js.UpdateGradeRoot(ls);

            List <string> strls = new List <string> {
            };

            ls.ForEach(item => strls.Add(item.StuName));
            js.UpdateSchoolRoot(strls, "Student", SelectedSchool, SelectedMajor, SelectedClass);
            Close();
        }