private void AddPlaylistImpl() { //// TODO Add Playlist-Name Dialog var playlist = new LocalPlaylistModel(); playlist.Name = "PlaylistName"; var result = _service.Save(playlist); if (!result.IsSuccess) { return; } var model = ViewModelResolver.Resolve <PlaylistViewModel>(result.Data); LocalPlaylists.Add(model); CurrentPlaylist = model; }
private void CancelEditModeImpl() { IsInEditMode = false; _service.Save(Model); }