This commit is contained in:
IDONTSUDO 2023-11-14 20:44:06 +03:00
parent 6f86377685
commit 8ecb036b1d
36 changed files with 498 additions and 212 deletions

View file

@ -68,7 +68,7 @@ export class CoreHttpController<V> implements ICoreHttpController {
public delete(usecase: CallBackFunction<V>) {
this.routes["DELETE"] = usecase;
}
private async requestResponseController<T>(
public async requestResponseController<T>(
req: Request,
res: Response,
usecase: CallBackFunction<T>