public ClassWithSubjectsModel(CLASS _classes) : base(_classes) { subjects = _classes.SUBJECT.ToList().Select(i => new SubjectModel(i)).ToList(); }
public ClassModel(CLASS _classes) { class_id = _classes.class_id; class_name = _classes.class_name; }