private void DeleteItem_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         DataGrid          SourseTable  = getCurrentTable();
         BaseContentEntity selectedItem = SourseTable.SelectedItem as BaseContentEntity;
         if (_selectedTab == SelectedTab.Game)
         {
             _rep.DeleteGame(selectedItem as ModelGame);
         }
         else
         {
             _rep.DeleteVideo(selectedItem as ModelVideo);
         }
     }
     catch (Exception ex)
     {
         App.SendException(ex);
     }
 }