Added mass disable / enable

This commit is contained in:
2019-06-04 22:46:26 +02:00
parent f190d3b5af
commit 0b818452b0
4 changed files with 133 additions and 58 deletions

View File

@@ -1,16 +1,19 @@
using System;
using System.Collections.Generic;
using Tv7Playlist.Data;
namespace Tv7Playlist.Models
{
public class HomeModel
{
public HomeModel(List<PlaylistEntry> playlistEntries)
public HomeModel()
{
}
public HomeModel(List<PlaylistEntryModel> playlistEntries)
{
PlaylistEntries = playlistEntries ?? throw new ArgumentNullException(nameof(playlistEntries));
}
public List<PlaylistEntry> PlaylistEntries { get; }
public List<PlaylistEntryModel> PlaylistEntries { get; set; }
}
}