This commit is contained in:
2025-12-21 19:53:22 +01:00
parent f2d8a23583
commit 3c64f328e2
105 changed files with 3191 additions and 1706 deletions

View File

@@ -135,9 +135,7 @@ export class LeagueService {
if (result.isErr()) {
throw new Error(result.unwrapErr().code);
}
const presenter = new AllLeaguesWithCapacityPresenter();
presenter.present(result.unwrap());
return presenter.getViewModel()!;
return this.getAllLeaguesWithCapacityUseCase.outputPort.present(result);
}
async getTotalLeagues(): Promise<TotalLeaguesDTO> {