public Result <bool> DeletePlaylist(PlaylistModel model)
        {
            var localPlaylist = model as LocalPlaylistModel;

            if (localPlaylist != null)
            {
                return(_localPlaylistService.Delete(localPlaylist));
            }

            Logger.Fatal("Missing implementation for " + model.GetType().FullName);
            return(new ErrorResult <bool>("Internal error."));
        }