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); }
public string LeerTodosLosServiciosProducto() { ServicioProductoCollection sc = new ServicioProductoCollection(); return(Util.Serializar <List <Negocio.Servicio_Producto> >(sc.getAll())); }