feat: Introduce core admin and instructor dashboards with dedicated services, pages, and layouts.

This commit is contained in:
Missez 2026-02-13 11:55:12 +07:00
parent af14610442
commit 5442f1beb6
7 changed files with 497 additions and 7 deletions

View file

@ -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,