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

9 lines
321 B
TypeScript
Raw Normal View History

2020-04-17 11:27:56 +02:00
import { Request, Response } from 'express';
2020-04-16 09:44:43 +02:00
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>;
}