[REFACTOR] ORM: controller beforeAnyAction can be sync or async