public void DeleteStories(WrapPanel panel, int position)
 {
     foreach (var item in _StoriesService.GetAll())
     {
         if (item.Value == (panel.Children[0] as Label).Content.ToString() && item.Position == position)
         {
             _StoriesService.Delete(item);
             panel.Children.Clear();
             break;
         }
     }
 }
 private void btn_Delete_Click(object sender, RoutedEventArgs e)
 {
     _StoriesService.Delete(SelectedStories);
     (this.Parent as WrapPanel).Children.Remove(this as UCHistoryView);
 }