blob: 0a5c2cebd5c6b2d03f62aee2fa49dfc95f19434a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { injectable, inject } from 'tsyringe';
import FindMasterClient from '../client/FindMasterClient';
@injectable()
export default class FindSlaveUseCase {
constructor(
@inject('FindMasterClient') private findMasterClient: FindMasterClient,
) {
}
findNext() {
this.findMasterClient.findNext();
}
findPrev() {
this.findMasterClient.findPrev();
}
}
|