blob: 92dfeb0448429a01f91117542af47b47d9200698 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import { injectable } from "tsyringe";
import FindUseCase from "../usecases/FindUseCase";
@injectable()
export default class FindController {
constructor(private findUseCase: FindUseCase) {}
getKeyword(): Promise<string> {
return this.findUseCase.getKeyword();
}
setKeyword(keyword: string): Promise<any> {
return this.findUseCase.setKeyword(keyword);
}
}
|