public ImportPrestashopArticleManuel() { InitializeComponent(); Model.Prestashop.PsProductRepository PsProductRepository = new Model.Prestashop.PsProductRepository(); List <Model.Prestashop.ProductResume> list = PsProductRepository.ListResume(); Model.Local.ArticleRepository ArticleRepository = new Model.Local.ArticleRepository(); List <int> listlocal = ArticleRepository.ListPrestashop(); list = list.Where(p => !listlocal.Contains((int)p.id_product)).ToList(); dataGridPsProduct.ItemsSource = list; }