app/repository/ArtistRepository.java
public CompletionStage<Void> deleteArtist(int artistId) {
        return supplyAsync(() -> {
            ebeanServer.find(Artist.class).where().eq("artist_id", Integer.toString(artistId)).delete();
            return null;
        });
    }
/**
     * Removes an artist entry from the database using a passed artist id
     *
     * @param artistId Id of the artist to delete
     * @return Void completion stage
     */
Removes an artist entry from the database using a passed artist id
@param artistId Id of the artist to delete
@return Void completion stage
Removes an artist entry from the database using a passed artist id @param artistId Id of the artist to delete @return Void completion stage
public CompletionStage<Void> deleteArtist(int artistId) {
        return supplyAsync(() -> {
            ebeanServer.find(Artist.class).where().eq("artist_id", Integer.toString(artistId)).delete();
            return null;
        });
    }
public CompletionStage < Void > deleteArtist ( int artistId ) { return supplyAsync ( ( ) -> { ebeanServer . find ( Artist . class ) . where ( ) . eq ( "artist_id" , Integer . toString ( artistId ) ) . delete ( ) ; return null ; } ) ; }
Removes an artist entry from the database using a passed artist id
 @param artistId Id of the artist to delete
 @return Void completion stage
Removes an artist entry from the database using a passed artist id @param artistId Id of the artist to delete @return Void completion stage