feat: Introduce core admin and instructor dashboards with dedicated services, pages, and layouts.
This commit is contained in:
parent
af14610442
commit
5442f1beb6
7 changed files with 497 additions and 7 deletions
|
|
@ -301,6 +301,10 @@ export const instructorService = {
|
|||
return await authRequest<ApiResponse<void>>(`/api/instructors/courses/send-review/${courseId}`, { method: 'POST' });
|
||||
},
|
||||
|
||||
async setCourseDraft(courseId: number): Promise<ApiResponse<void>> {
|
||||
return await authRequest<ApiResponse<void>>(`/api/instructors/courses/set-draft/${courseId}`, { method: 'POST' });
|
||||
},
|
||||
|
||||
async getEnrolledStudents(
|
||||
courseId: number,
|
||||
page: number = 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue