import type { SessionDataDto } from '../dtos'; import { SessionViewModel } from '../view-models'; /** * Session Presenter * Transforms session DTOs to ViewModels */ export class SessionPresenter { presentSession(dto: SessionDataDto | null): SessionViewModel | null { if (!dto) return null; return new SessionViewModel(dto); } }