app/repository/ArtistRepository.java
public CompletionStage<Void> removeProfileFromArtist(int artistId, int profileId) {
        return supplyAsync(() -> {
            ebeanServer.find(ArtistProfile.class)
                    .where()
                    .eq("artist_id", artistId)
                    .eq("profile_id", profileId)
                    .delete();
            checkToDeleteArtist(artistId);
            return null;
        });
    }
/**
     * Removes an entry from the artist_profile table unlinking a profile from an artist
     *
     * @param artistId id of artist to link
     * @param profileId id of profile to link
     * @return Void CompletionStage
     */
Removes an entry from the artist_profile table unlinking a profile from an artist
@param artistId id of artist to link
@param profileId id of profile to link
@return Void CompletionStage
Removes an entry from the artist_profile table unlinking a profile from an artist @param artistId id of artist to link @param profileId id of profile to link @return Void CompletionStage
public CompletionStage<Void> removeProfileFromArtist(int artistId, int profileId) {
        return supplyAsync(() -> {
            ebeanServer.find(ArtistProfile.class)
                    .where()
                    .eq("artist_id", artistId)
                    .eq("profile_id", profileId)
                    .delete();
            checkToDeleteArtist(artistId);
            return null;
        });
    }
public CompletionStage < Void > removeProfileFromArtist ( int artistId , int profileId ) { return supplyAsync ( ( ) -> { ebeanServer . find ( ArtistProfile . class ) . where ( ) . eq ( "artist_id" , artistId ) . eq ( "profile_id" , profileId ) . delete ( ) ; checkToDeleteArtist ( artistId ) ; return null ; } ) ; }
Removes an entry from the artist_profile table unlinking a profile from an artist
 @param artistId id of artist to link
 @param profileId id of profile to link
 @return Void CompletionStage
Removes an entry from the artist_profile table unlinking a profile from an artist @param artistId id of artist to link @param profileId id of profile to link @return Void CompletionStage