addLateEnrollingStudentToPreviousLectures
addLateEnrollingStudentToPreviousLectures: (
    studentnumber: string,
    courseid: number,
) => Promise<void>
getDetailsByCourseId
getDetailsByCourseId: (courseId: string) => Promise<any>
getStudentAndSelectedTopicsByUsercourseId
getStudentAndSelectedTopicsByUsercourseId: (
    usercourseid: number,
) => Promise<any>
insertIntoCourse
insertIntoCourse: (    name: string,    start_date: Date,    end_date: Date,    code: string,    group_name: string,    students: Student[],    instructors: Instructor[],    topics?: string,    topicgroup?: string,) => Promise<number> removeStudentCourses
removeStudentCourses: (usercourseid: number) => Promise<void>
updateStudentCourses
updateStudentCourses: (userid: number, courseid: number) => Promise<void>
CourseController interface represents the structure of the course controller.
This interface provides the following methods:
Method
getCoursesByUserId - Fetches the courses for a specific user.
Method
getCourseById - Fetches a specific course by its ID.
Method
insertIntoCourses - Inserts a new course.