import { LeagueStandingsDto, StandingEntryDto } from '../dtos'; import { LeagueStandingsViewModel } from '../view-models'; export const presentLeagueStandings = (dto: LeagueStandingsDto, currentUserId: string, previousStandings?: StandingEntryDto[]): LeagueStandingsViewModel => { return new LeagueStandingsViewModel(dto, currentUserId, previousStandings); };