import { injectable } from "tsyringe"; import FindUseCase from "../usecases/FindUseCase"; @injectable() export default class FindController { constructor(private findUseCase: FindUseCase) {} getKeyword(): Promise { return this.findUseCase.getKeyword(); } setKeyword(keyword: string): Promise { return this.findUseCase.setKeyword(keyword); } }