private void RefreshClassData() { ClassList.Clear(); foreach (var item in Classes) { ClassList.Add(new ClassInfoViewModel(item)); } }