Пример #1
0
 /// <summary>
 /// Holds a CourseSchedule for a Student to look at later.
 /// </summary>
 /// <param name="studentDAO">The Student to hold the Course for.</param>
 /// <param name="courseScheduleDAO">The Course to hold.</param>
 /// <returns>True if the hold was successful.</returns>
 public bool HoldCourse(int studentId, int courseScheduleId)
 {
     return(data.HoldCourse(data.FindOrCreateStudent(studentId), data.FindOrCreateCourseSchedule(courseScheduleId)));
 }