pub fn create(
db_context: &DbContext,
event_hub: &Arc<EventHub>,
undo_redo_manager: &mut UndoRedoManager,
stack_id: Option<u64>,
entity: &CreateInlineElementDto,
owner_id: u64,
index: i32,
) -> Result<InlineElementDto, Error>