7 lines
275 B
TypeScript
7 lines
275 B
TypeScript
export interface CrudHandler {
|
|
public create(req: Request, res: Response): Promise<void>;
|
|
public read(req: Request, res: Response): Promise<void>;
|
|
public update(req: Request, res: Response): Promise<void>;
|
|
public delete(req: Request, res: Response): Promise<void>;
|
|
}
|