* re-namespace * optimize usings * more usings * more of the same * more implicit/global usings * cleanup all usings * minor fixes
15 lines
455 B
C#
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);
|
|
} |