示例#1
0
// ***** Delete
        private void DeleteContent()
        {
            string title = SetTitle();

            bool isGone = _repo.DeleteContent(title);

            Console.WriteLine(!isGone ? "Not found" : "Deleted");
        }
示例#2
0
        public void DeleteContent()
        {
            bool wasDeleted = _repo.DeleteContent("Unforgiven");

            Assert.IsTrue(wasDeleted);
        }