public List <M_Canal> obtenerCanal(string idcompania) { ServicioGestionCampania.Ges_CampaniaServiceClient client = new ServicioGestionCampania.Ges_CampaniaServiceClient("BasicHttpBinding_IGes_CampaniaService"); string dataJson; string request; request = "{'a':'" + idcompania + "'}"; dataJson = client.Listar_Canales_Por_CodCompania(request); M_Canal_Response oM_Canal = HelperJson.Deserialize <M_Canal_Response>(dataJson); return(oM_Canal.listaCanales); }