This repository has been archived on 2020-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
requestor/lib/CrudHandler.ts
Timo Hocker 3716e80674 fixes
2020-04-17 11:27:56 +02:00

9 lines
321 B
TypeScript

import { Request, Response } from 'express';
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>;
}