In case of violation or attempted violation of the provisions of this chapter, the county may institute any appropriate action or proceeding to prevent such violation or attempted violation.