def METHOD_NAME(self, render_mode, source):
    note = EventNote.get_or_create(self.object)
    is_new = note.id is None or note.is_deleted
    is_restored = is_new and note.is_deleted
    note.create_revision(render_mode, source, session.user)
    is_changed = attrs_changed(note, 'current_revision')
    db.session.add(note)
    db.session.flush()
    if is_new:
        if is_restored:
            signals.event.notes.note_restored.send(note)
        else:
            signals.event.notes.note_added.send(note)
        logger.info('Note %s created by %s', note, session.user)
        self.event.log(EventLogRealm.participants, LogKind.positive, 'Minutes', 'Added minutes',
                       session.user, data=note.link_event_log_data)
    elif is_changed:
        signals.event.notes.note_modified.send(note)
        logger.info('Note %s modified by %s', note, session.user)
        self.event.log(EventLogRealm.participants, LogKind.change, 'Minutes', 'Updated minutes',
                       session.user, data=note.link_event_log_data)
    return '', 204