Exemple #1
0
        private void DeleteChapter(object chapterObject)
        {
            ChapterViewModel chapter = chapterObject as ChapterViewModel;

            if (chapter != null)
            {
                Chapters.Remove(chapter);
                App.Database2.DeleteItem(chapter.Chapter.Id);
            }
            Back();
        }