diff --git a/frontend/src/controllers/classes.ts b/frontend/src/controllers/classes.ts index c6c80af0..4a349e85 100644 --- a/frontend/src/controllers/classes.ts +++ b/frontend/src/controllers/classes.ts @@ -42,6 +42,10 @@ export class ClassController extends BaseController { return this.delete(`/${id}`); } + async updateClass(id: string, data: Partial): Promise { + return this.put(`/${id}`, data); + } + async getStudents(id: string, full = true): Promise { return this.get(`/${id}/students`, { full }); }