private void btn_DeleteEntry_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            var result = MessageBox.Show(ResourceStringManager.GetResourceByKey("ConfirmDeleteMessage"), ResourceStringManager.GetResourceByKey("ConfirmDeleteTitle"), MessageBoxButton.YesNo, MessageBoxImage.Question);

            if (result == MessageBoxResult.Yes)
            {
                var entryLogic = new EntryLogic();
                entryLogic.DeleteEntry(SelectedEntry.Id);
                entryLogic.Dispose();
            }
            Load();
            this.RefreshBindings(this.PagingManager.CurrentPage);
        }
        public void DeleteEntry_Test()
        {
            // ARRANGE
            CreateEntries();
            var entryLogic = new EntryLogic();

            // ACT
            entryLogic.DeleteEntry(1);
            entryLogic.Dispose();
            this.uow.Dispose();
            this.uow = new UnitOfWork();

            // ASSERT
            var deletedEntry = this.uow.Entries.Get(1);

            Assert.IsNull(deletedEntry);
        }