public List <M_Categoria> consulta_Fotografico(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_Fotografico(request); M_Categoria_Response oM_Categoria_Response = HelperJson.Deserialize <M_Categoria_Response>(dataJson); return(oM_Categoria_Response.listaCategoria); }
public List <M_Categoria> Listar_Categoria_por_Compania_Status(string Company_id, string Status) { ServicioGestionCampania.Ges_CampaniaServiceClient client = new ServicioGestionCampania.Ges_CampaniaServiceClient("BasicHttpBinding_IGes_CampaniaService"); string dataJson; string request; request = "{'a':'" + Company_id + "','b':'" + Status + "'}"; dataJson = client.Listar_Categoria_Sancela(request); M_Categoria_Response oM_Categoria_Response = HelperJson.Deserialize <M_Categoria_Response>(dataJson); return(oM_Categoria_Response.listaCategoria); }