Exemplo n.º 1
0
        public List <M_Malla> Consultar_Malla(M_Malla_Request oM_Malla)
        {
            ServicioGestionCampania.Ges_CampaniaServiceClient client = new ServicioGestionCampania.Ges_CampaniaServiceClient("BasicHttpBinding_IGes_CampaniaService");

            string dataJson;
            string request;

            request = HelperJson.Serialize <M_Malla_Request>(oM_Malla);

            dataJson = client.Listar_Malla(request);//se tiene que cambier por el metodo correcto

            M_Malla_Response oM_Malla_Response = HelperJson.Deserialize <M_Malla_Response>(dataJson);



            return(oM_Malla_Response.listaMalla);
        }