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