src/main/java/com/dharmab/tyro/server/database/EntityDao.java
/**
     * Delete the record matching the given entity ID from the database.
     *
     * @param id ID of entity to delete.
     */
Delete the record matching the given entity ID from the database.
@param id ID of entity to delete.
Delete the record matching the given entity ID from the database . @param id ID of entity to delete .
public void delete(I id) {
        Optional<T> maybeEntity = get(id);
        if (maybeEntity.isPresent()) {
            delete(maybeEntity.get());
        }
    }
public void delete ( I id ) { Optional < T > maybeEntity = get ( id ) ; if ( maybeEntity . isPresent ( ) ) { delete ( maybeEntity . get ( ) ) ; } }
Delete the record matching the given entity ID from the database.
Delete the record matching the given entity ID from the database .