using ErsatzTV.Application.MediaCollections; namespace ErsatzTV.Controllers.Api.Requests; public record AddItemsToCollectionRequest( List MovieIds, List ShowIds, List SeasonIds, List EpisodeIds, List ArtistIds, List MusicVideoIds, List OtherVideoIds, List SongIds, List ImageIds, List RemoteStreamIds) { public AddItemsToCollection ToCommand(int collectionId) => new( collectionId, MovieIds ?? [], ShowIds ?? [], SeasonIds ?? [], EpisodeIds ?? [], ArtistIds ?? [], MusicVideoIds ?? [], OtherVideoIds ?? [], SongIds ?? [], ImageIds ?? [], RemoteStreamIds ?? []); }