app/repository/AttendEventRepository.java
public CompletionStage<Integer> insert(AttendEvent attendEvent) {
        return supplyAsync(() -> {
            ebeanServer.insert(attendEvent);
            return attendEvent.getAttendEventId();
        }, executionContext);
    }
/**
     * Inserts attend event object into the database
     * @param attendEvent AttendEvent object to be inserted
     * @return completionStage<Integer> the id of the AttendEvent inserted
     */
Inserts attend event object into the database
@param attendEvent AttendEvent object to be inserted
@return completionStage the id of the AttendEvent inserted
Inserts attend event object into the database @param attendEvent AttendEvent object to be inserted @return completionStage the id of the AttendEvent inserted
public CompletionStage<Integer> insert(AttendEvent attendEvent) {
        return supplyAsync(() -> {
            ebeanServer.insert(attendEvent);
            return attendEvent.getAttendEventId();
        }, executionContext);
    }
public CompletionStage < Integer > insert ( AttendEvent attendEvent ) { return supplyAsync ( ( ) -> { ebeanServer . insert ( attendEvent ) ; return attendEvent . getAttendEventId ( ) ; } , executionContext ) ; }
Inserts attend event object into the database
 @param attendEvent AttendEvent object to be inserted
 @return completionStage<Integer> the id of the AttendEvent inserted
Inserts attend event object into the database @param attendEvent AttendEvent object to be inserted @return completionStage<Integer > the id of the AttendEvent inserted