Esempio n. 1
0
        public List <M_Supervisor> consulta(string idC)
        {
            ServicioGestionCampania.Ges_CampaniaServiceClient client = new ServicioGestionCampania.Ges_CampaniaServiceClient("BasicHttpBinding_IGes_CampaniaService");

            string dataJson;
            string request;

            request  = "{'a':'" + idC + "'}";
            dataJson = client.Listar_Supervisor_Por_CodCampania(request);
            M_Supervisor_Response oM_Supervisor_Response = HelperJson.Deserialize <M_Supervisor_Response>(dataJson);

            return(oM_Supervisor_Response.listaSupervisor);
        }