Exemple #1
0
        private void Remove()
        {
            Blog blogToDelete = Choose("Which blog would you like to remove?");

            if (blogToDelete != null)
            {
                _blogRepository.Delete(blogToDelete.Id);
            }
        }