Ejemplo n.º 1
0
 /// <summary>
 /// Gets the specified mediaitem.
 /// </summary>
 /// <param name="mediaitem">The mediaitem.</param>
 /// <returns></returns>
 public Playlist Get(Core.Playlist mediaitem)
 {
     return(new Playlist(_translationService, _mediaItemMapper, _sequenceProvider, _validator, _dialogViewModel, GetData(mediaitem)));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets the data.
 /// </summary>
 /// <param name="mediaitem">The mediaitem.</param>
 /// <returns></returns>
 public Data.Playlist GetData(Core.Playlist mediaitem)
 {
     return(_mapper.Map <Core.Playlist, Data.Playlist>(mediaitem));
 }