module cleanup
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import { IGetTotalRacesPresenter, GetTotalRacesResultDTO } from '@core/racing/application/presenters/IGetTotalRacesPresenter';
|
||||
import { RaceStatsDto } from '../dto/RaceDto';
|
||||
import { IGetTotalRacesPresenter, GetTotalRacesResultDTO, GetTotalRacesViewModel } from '@core/racing/application/presenters/IGetTotalRacesPresenter';
|
||||
|
||||
export class GetTotalRacesPresenter implements IGetTotalRacesPresenter {
|
||||
private result: RaceStatsDto | null = null;
|
||||
private result: GetTotalRacesViewModel | null = null;
|
||||
|
||||
reset() {
|
||||
this.result = null;
|
||||
@@ -14,7 +13,7 @@ export class GetTotalRacesPresenter implements IGetTotalRacesPresenter {
|
||||
};
|
||||
}
|
||||
|
||||
getViewModel(): RaceStatsDto | null {
|
||||
getViewModel(): GetTotalRacesViewModel | null {
|
||||
return this.result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user