private function getAllByCourseId($courseId) { return Section::with('section_type', 'course.subject', 'enrollment_current', 'enrollment_waitlist', 'instructor')->whereCourseId($courseId); }