private IList <Compte_rendu> SearchCompte_RenduBase() { Compte_rendu compte_rendus = new Compte_rendu(); compte_rendus.note = ""; IList <Compte_rendu> ListCompte_rendu = null; using (API_Daltons.Service1Client api = new API_Daltons.Service1Client()) { { ListCompte_rendu = api.SearchCompte_rendu(); } } return(ListCompte_rendu); }
private IList <Compte_rendu> SearchCompte_RenduBase() { Compte_rendu compte_rendus = new Compte_rendu(); compte_rendus.note = ""; if (SelectedItem != null) { compte_rendus.id_technicien = ParentModel.SelectedItem.id_technicien; } IList <Compte_rendu> ListCompte_rendu = null; using (API_Daltons.Service1Client api = new API_Daltons.Service1Client()) { { ListCompte_rendu = api.SearchCompte_rendu(); } } return(ListCompte_rendu); }