pub fn create_orphan( db_context: &DbContext, event_hub: &Arc<EventHub>, undo_redo_manager: &mut UndoRedoManager, stack_id: Option<u64>, entity: &CreateBlockDto, ) -> Result<BlockDto, Error>