public void DatabaseDeleteItem()
        {
            repo.Clear();
            Assert.AreEqual(0, repo.GetCount());
            FortuneItem hugs = new FortuneItem("You will be given a great deal of hugs.", "Relationships");

            repo.Add(hugs);
            repo.Delete(hugs);
            Assert.AreEqual(0, repo.GetCount());
        }
 private void Delete_Click(object sender, RoutedEventArgs e)
 {
     repo.Delete(curItem as FortuneItem);
 }