pub fn update( db_context: &DbContext, event_hub: &Arc<EventHub>, entity: &UpdateRootDto, ) -> Result<RootDto, Error>