import { RaceListItemDto } from '../dtos';
import { RaceListItemViewModel } from '../view-models';

export const presentRaceListItem = (dto: RaceListItemDto): RaceListItemViewModel => {
  return new RaceListItemViewModel(dto);
};