public static void ArticleDelete(string[] arrId) { foreach (string id in arrId) { Guid idArticle = new Guid(id); ArticleList.RemoveDB(ArticleList.Where(a => a.Id == idArticle).Single()); Libs.Ultility.DeleteArticleIndexing(idArticle); } }