/// <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))); }
/// <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)); }