league service
This commit is contained in:
13
core/racing/application/presenters/ITotalDriversPresenter.ts
Normal file
13
core/racing/application/presenters/ITotalDriversPresenter.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export interface TotalDriversViewModel {
|
||||
totalDrivers: number;
|
||||
}
|
||||
|
||||
export interface TotalDriversResultDTO {
|
||||
totalDrivers: number;
|
||||
}
|
||||
|
||||
export interface ITotalDriversPresenter {
|
||||
present(dto: TotalDriversResultDTO): void;
|
||||
get viewModel(): TotalDriversViewModel;
|
||||
reset(): void;
|
||||
}
|
||||
Reference in New Issue
Block a user