app/repository/AttendEventRepository.java
public CompletionStage<Void> delete(int attendEventId) {
        return supplyAsync(() -> {
            ebeanServer.find(AttendEvent.class).where()
                    .eq("attend_event_id", Integer.toString(attendEventId))
                    .delete();
            return null;
        });
    }
/**
     * Deletes the AttendEvent row from the database with the id given
     * @param attendEventId the id of the event to be deleted
     * @return completionStage<null>
     */
Deletes the AttendEvent row from the database with the id given
@param attendEventId the id of the event to be deleted
@return completionStage
Deletes the AttendEvent row from the database with the id given @param attendEventId the id of the event to be deleted @return completionStage
public CompletionStage<Void> delete(int attendEventId) {
        return supplyAsync(() -> {
            ebeanServer.find(AttendEvent.class).where()
                    .eq("attend_event_id", Integer.toString(attendEventId))
                    .delete();
            return null;
        });
    }
public CompletionStage < Void > delete ( int attendEventId ) { return supplyAsync ( ( ) -> { ebeanServer . find ( AttendEvent . class ) . where ( ) . eq ( "attend_event_id" , Integer . toString ( attendEventId ) ) . delete ( ) ; return null ; } ) ; }
Deletes the AttendEvent row from the database with the id given
 @param attendEventId the id of the event to be deleted
 @return completionStage<null>
Deletes the AttendEvent row from the database with the id given @param attendEventId the id of the event to be deleted @return completionStage<null >