Example #1
0
        private static void actualizarTitulo(int id, string titulo)
        {
            AlbumMapper mapper = (AlbumMapper)RegistroMapper.getMapper(typeof(Album));
            Album       album  = (Album)mapper.buscar(id);

            album.setTitulo(titulo);
        }
Example #2
0
        private static void eliminarAlbum(int id)
        {
            AlbumMapper mapper = (AlbumMapper)RegistroMapper.getMapper(typeof(Album));
            Album       album  = (Album)mapper.buscar(id);

            Album.eliminar(album);
        }