all-files: inject database connection, create title entity

This commit is contained in:
jurgis
2022-12-10 14:40:10 +01:00
parent f277d57406
commit 75ba458b59
7 changed files with 41 additions and 4 deletions
@@ -11,6 +11,11 @@ export class AllFilesController {
return this.allFilesService.getMenu();
}
@Get('titles')
async titles() {
return this.allFilesService.getAllTitles();
}
@Get('show')
getShows() {
return { will: 'show shows list' };