before method
Called before action execution
Implementation
@override
Future<Action?> before(Action action) async {
final tenantId = getTenantId();
if (tenantId.isEmpty) {
throw StateError('Tenant ID is required for this action');
}
return action;
}