Ejemplo n.º 1
0
 public void enrollUser(student currentStudent)
 {
     enrolledStudents.Add(currentStudent);
     seats -= 1;
 }
Ejemplo n.º 2
0
 // Change the database
 //----------------------------------------
 public void addCrsToStd(string crsID, string nextSemester, ref courseDatabase crsDB, student currentStudent)
 {
     foreach (course crs in crsDB.getCourseList())
     {
         if (crsID.Trim() == crs.crsID.Trim())
         {
             course selectedCourse = crs;
             selectedCourse.enrollUser(currentStudent);
             course courseAdding = selectedCourse;
             currentStudent.addClassToNext(courseAdding);
             return;
         }
     }
 }
Ejemplo n.º 3
0
 public void addAdvisee(student std)
 {
     adviseesLst.Add(std);
 }