public StudentsViewModel(StudentModel model) { Students = model.Items; }
public SubjectsViewModel(StudentModel studentModel, SubjectModel subjectModel) { Subjects = new ObservableCollection <Subject>(); Students = studentModel.Items; this.subjectModel = subjectModel; }