Ejemplo n.º 1
0
        public List <M_Oficina> consultarOficinas_Por_CodPais_CodCliente_CodCampania(M_Oficina_Request oM_Oficina_Request)
        {
            ServicioGestionCampania.Ges_CampaniaServiceClient client = new ServicioGestionCampania.Ges_CampaniaServiceClient("BasicHttpBinding_IGes_CampaniaService");
            string             request             = HelperJson.Serialize <M_Oficina_Request>(oM_Oficina_Request);
            string             response            = client.Listar_Oficinas_Por_CodPais_CodCliente_CodCampania(request);
            M_Oficina_Response oM_Oficina_Response = HelperJson.Deserialize <M_Oficina_Response>(response);

            return(oM_Oficina_Response.listaOficinas);
        }