fear: implement interface to dynamic list service.

This commit is contained in:
Ahmed Bouhuolia
2020-09-16 22:01:06 +02:00
parent 31d6488075
commit 8cccf23fcc
2 changed files with 44 additions and 39 deletions

View File

@@ -17,4 +17,9 @@ export interface IDynamicListFilterDTO {
filterRoles?: IFilterRole[],
columnSortBy: string,
sortOrder: string,
}
export interface IDynamicListService {
dynamicList(tenantId: number, model: any, filter: IDynamicListFilterDTO): Promise<any>;
handlerErrorsToResponse(error, req, res, next): void;
}