9 lines
213 B
JavaScript
9 lines
213 B
JavaScript
export class GetMangaCollection {
|
|
constructor(mangaRepository) {
|
|
this.mangaRepository = mangaRepository;
|
|
}
|
|
|
|
async execute(page = 1) {
|
|
return await this.mangaRepository.getMangaCollection(page);
|
|
}
|
|
} |