feat: Reader working, some work still need to be done
This commit is contained in:
parent
33f5a5568a
commit
668702b1fb
9
assets/react/app/application/useCases/getPages.js
Normal file
9
assets/react/app/application/useCases/getPages.js
Normal file
@@ -0,0 +1,9 @@
|
||||
export class GetPages {
|
||||
constructor(readerRepository) {
|
||||
this.readerRepository = readerRepository;
|
||||
}
|
||||
|
||||
async execute(chapterId) {
|
||||
return await this.readerRepository.getPages(chapterId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user