added first result table with containing the tracks (prototype)
This commit is contained in:
16
Tv7Playlist/Models/HomeModel.cs
Normal file
16
Tv7Playlist/Models/HomeModel.cs
Normal 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));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user