Section 24. Any action of the board of directors or the insolvency fund may be appealed to the commissioner by any generator or any person adversely affected thereby, if such appeal is taken within thirty days of the action being appealed. If a generator is appealing an assessment, the amount assessed shall be paid to the insolvency fund and available to meet insolvency fund obligations during the pendency of an appeal. If the appeal on the assessment is upheld, the amount paid in error or excess shall be returned to the generator. Any final action or order of the commissioner shall be subject to judicial review, pursuant to chapter thirty A.