示例#1
0
        public ActionResult <UserInterfaceObjects.PlayList> GetPlayList([FromRoute] Guid playListId)
        {
            var userId = User.GetUserId();

            var playList = _playListService
                           .GetPlayList(userId, playListId)
                           .ToUserInterfaceObject();

            return(Ok(playList));
        }
 public LandingPageViewModel(INavigationService navigationPage) : base(navigationPage)
 {
     PlayLists = playList.GetPlayList();
     GlobalConstants.PlayLists = new ObservableCollection <PlayListModel>(PlayLists);
 }