Files
Mangarr/assets/react/app/application/useCases/getMangaCollection.js
2025-02-12 16:12:01 +01:00

9 lines
213 B
JavaScript

export class GetMangaCollection {
constructor(mangaRepository) {
this.mangaRepository = mangaRepository;
}
async execute(page = 1) {
return await this.mangaRepository.getMangaCollection(page);
}
}