//public List<M_Categoria> Listar_Categoria_Por_CodCampania_Presencia(string CodCampania) //{ // ServicioGestionCampania.Ges_CampaniaServiceClient client = new ServicioGestionCampania.Ges_CampaniaServiceClient("BasicHttpBinding_IGes_CampaniaService"); // string dataJson; // string request; // request = "{'a':'" + CodCampania + "'}"; // dataJson = client.Listar_Categoria_Por_CodCampania_Presencia(request); // M_Categoria_Response oM_Categoria_Response = HelperJson.Deserialize<M_Categoria_Response>(dataJson); // return oM_Categoria_Response.listaCategoria; //} public List <M_Categoria> Listar_Categoria_porCampania(string CodCampania) { ServicioGestionCampania.Ges_CampaniaServiceClient client = new ServicioGestionCampania.Ges_CampaniaServiceClient("BasicHttpBinding_IGes_CampaniaService"); string dataJson; string request; request = "{'a':'" + CodCampania + "'}"; dataJson = client.Listar_Categoria_Por_CodCampania_FotograficoTMP(request); M_Categoria_Response oM_Categoria_Response = HelperJson.Deserialize <M_Categoria_Response>(dataJson); return(oM_Categoria_Response.listaCategoria); }