public void RemoveStudent(Student student, Student.Status newStatus) { foreach (Student element in students) { if (element == student) { ChangeStatus(student, newStatus); students.Remove(element); student.GroupName = "none"; break; } } }
public void ChangeStatus(Student student, Student.Status newStatus) { student.StudentStatus = newStatus; }
public PersonFactory ClassStatus(Student.Status status) { _classStatus = status; return(this); }