예제 #1
0
        public string LeerServicioProductoPorIdServicio(decimal val)
        {
            ServicioProductoCollection       sc  = new ServicioProductoCollection();
            List <Negocio.Servicio_Producto> lpc = sc.getAllByIdServicio(val);
            string xml = Util.Serializar <List <Negocio.Servicio_Producto> >(lpc);

            return(xml);
        }
예제 #2
0
        public string LeerTodosLosServiciosProducto()
        {
            ServicioProductoCollection sc = new ServicioProductoCollection();

            return(Util.Serializar <List <Negocio.Servicio_Producto> >(sc.getAll()));
        }