UNPKG

@defikitdotnet/education-module-ai

Version:
23 lines (22 loc) 748 B
import { TeacherService } from "../services/TeacherService"; import type { Request, Response, NextFunction } from 'express'; export declare class TeacherController { private teacherService; constructor(teacherService: TeacherService); /** * Get all teachers */ getAllTeachers(req: Request, res: Response, next: NextFunction): Promise<void>; /** * Get teacher by ID */ getTeacherById(req: Request, res: Response, next: NextFunction): Promise<void>; /** * Update teacher by ID */ updateTeacher(req: Request, res: Response, next: NextFunction): Promise<void>; /** * Delete teacher by ID */ deleteTeacher(req: Request, res: Response, next: NextFunction): Promise<void>; }