blob: f3ea93f2523c13ead6ae8e7c4e6fe46858c3469d (
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<void> {
return this.findUseCase.setKeyword(keyword);
}
}
|