Files
ersatztv/ErsatzTV/ViewModels/PlayoutEditViewModel.cs
T
Jason DoveandGitHub 1ab98578ab refactor namespaces and imports (#670)
* re-namespace

* optimize usings

* more usings

* more of the same

* more implicit/global usings

* cleanup all usings

* minor fixes
2022-03-03 15:36:07 -06:00

15 lines
455 B
C#

using ErsatzTV.Application.Channels;
using ErsatzTV.Application.Playouts;
using ErsatzTV.Application.ProgramSchedules;
using ErsatzTV.Core.Domain;
namespace ErsatzTV.ViewModels;
public class PlayoutEditViewModel
{
public ChannelViewModel Channel { get; set; }
public ProgramScheduleViewModel ProgramSchedule { get; set; }
public CreatePlayout ToCreate() =>
new(Channel.Id, ProgramSchedule.Id, ProgramSchedulePlayoutType.Flood);
}