public List <int> RemoveDuplicateIds()
 {
     return(SelectedItems.Distinct().ToList());
 }