// Find all albums. public List<Album> allAlbums() { return albums.allAlbums(); }
// Remove the album with `id`. public Album removeAlbum(Integer id) { return albums.removeAlbum(id); }
// Find an Album by its id. public Album findAlbum(Integer id) { return albums.findAlbum(id); }
// Replace the album with `id` using the content of `album`. public Album editAlbum(Integer id, Album album) { return albums.editAlbum(id, album); }
// Create a new Album. public Album createAlbum( String title, String artist, Boolean inStock, Double price, Integer year) { return albums.createAlbum(title, artist, inStock, price, year); }