mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
322 B
10 lines
322 B
using ErsatzTV.Core.Domain; |
|
|
|
namespace ErsatzTV.Application.Channels |
|
{ |
|
internal static class Mapper |
|
{ |
|
internal static ChannelViewModel ProjectToViewModel(Channel channel) => |
|
new(channel.Id, channel.Number, channel.Name, channel.FFmpegProfileId, channel.Logo, channel.StreamingMode); |
|
} |
|
}
|
|
|