app/repository/ArtistRepository.java
public CompletionStage<Void> addProfileToArtist(int artistId, int profileId) {
        return supplyAsync(() -> {
            ebeanServer.insert(new ArtistProfile(artistId, profileId));
            return null;
        });
    }
/**
     * Inserts a new entry into the artist_profile table linking the profile to the artist
     *
     * @param artistId id of artist to link
     * @param profileId id of profile to link
     * @return Void CompletionStage
     */
Inserts a new entry into the artist_profile table linking the profile to the artist
@param artistId id of artist to link
@param profileId id of profile to link
@return Void CompletionStage
Inserts a new entry into the artist_profile table linking the profile to the artist @param artistId id of artist to link @param profileId id of profile to link @return Void CompletionStage
public CompletionStage<Void> addProfileToArtist(int artistId, int profileId) {
        return supplyAsync(() -> {
            ebeanServer.insert(new ArtistProfile(artistId, profileId));
            return null;
        });
    }
public CompletionStage < Void > addProfileToArtist ( int artistId , int profileId ) { return supplyAsync ( ( ) -> { ebeanServer . insert ( new ArtistProfile ( artistId , profileId ) ) ; return null ; } ) ; }
Inserts a new entry into the artist_profile table linking the profile to the artist
 @param artistId id of artist to link
 @param profileId id of profile to link
 @return Void CompletionStage
Inserts a new entry into the artist_profile table linking the profile to the artist @param artistId id of artist to link @param profileId id of profile to link @return Void CompletionStage