app/repository/ArtistRepository.java
public CompletionStage<Integer> insertProfileLink(ArtistProfile artistProfile) {
        return supplyAsync(() -> {
            ebeanServer.insert(artistProfile);
            return artistProfile.getAPArtistId();
        }, executionContext);
    }
/**
     * Inserts ArtistProfile object into the ebean database server for link table.
     *
     * @param artistProfile ArtistProfile object to insert into the database
     * @return the new Artist id
     */
Inserts ArtistProfile object into the ebean database server for link table.
@param artistProfile ArtistProfile object to insert into the database
@return the new Artist id
Inserts ArtistProfile object into the ebean database server for link table . @param artistProfile ArtistProfile object to insert into the database @return the new Artist id
public CompletionStage<Integer> insertProfileLink(ArtistProfile artistProfile) {
        return supplyAsync(() -> {
            ebeanServer.insert(artistProfile);
            return artistProfile.getAPArtistId();
        }, executionContext);
    }
public CompletionStage < Integer > insertProfileLink ( ArtistProfile artistProfile ) { return supplyAsync ( ( ) -> { ebeanServer . insert ( artistProfile ) ; return artistProfile . getAPArtistId ( ) ; } , executionContext ) ; }
Inserts ArtistProfile object into the ebean database server for link table.
Inserts ArtistProfile object into the ebean database server for link table .