import { Service } from '@vcr/domain' ; import { ComicRepository } from '../Repositories/ComicRepository' ; export class OpenComicService implements Service { constructor ( private repository ) { } execute ( file ) { return this . repository . openComic ( file ) ; } }