blob: 28959e235ea67fb25ac9acf00e5d4eb6c248b401 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import FindUseCase from '../usecases/FindUseCase';
export default class FindController {
private findUseCase: FindUseCase;
constructor() {
this.findUseCase = new FindUseCase();
}
getKeyword(): Promise<string> {
return this.findUseCase.getKeyword();
}
setKeyword(keyword: string): Promise<any> {
return this.findUseCase.setKeyword(keyword);
}
}
|