/// <summary> /// Drops a Course for a Student. /// </summary> /// <param name="studentDAO">The Student to drop the Course on.</param> /// <param name="studentScheduleDAO">The Course to drop.</param> /// <returns>True if the drop was successful.</returns> public bool DropCourse(int studentId, int courseScheduleId) { return(data.DropCourse(data.FindOrCreateStudent(studentId), data.FindOrCreateStudentSchedule(studentId, courseScheduleId))); }