added first result table with containing the tracks (prototype)

This commit is contained in:
2018-12-29 00:44:47 +01:00
parent 590c73f834
commit 20f0b767e8
6 changed files with 49 additions and 19 deletions

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using Tv7Playlist.Core.Parsers;
namespace Tv7Playlist.Models
{
public class HomeModel
{
public IReadOnlyCollection<ParsedTrack> Tracks { get; }
public HomeModel(IReadOnlyCollection<ParsedTrack> tracks)
{
Tracks = tracks ?? throw new ArgumentNullException(nameof(tracks));
}
}
}