Exemple #1
0
        public List <M_Menu> obtenerMenu(string idcompany, string nodo, string canal, string modulo)
        {
            ServicioGestionCampania.Ges_CampaniaServiceClient client = new ServicioGestionCampania.Ges_CampaniaServiceClient("BasicHttpBinding_IGes_CampaniaService");

            string dataJson;
            string request;

            request  = "{'a':'" + modulo + "','b':'" + idcompany + "','c':'" + nodo + "','d':'" + canal + "'}";
            dataJson = client.Listar_Menu_Datamercaderista(request);
            client.Close();

            M_Menu_Response oM_Menu = HelperJson.Deserialize <M_Menu_Response>(dataJson);

            return(oM_Menu.listaMenu);
        }