A.
Any person violating any provision of the Code of the City of Mount Vernon, unless otherwise specifically provided by the Penal Law and for which no other penalty is provided, shall be guilty of an offense and shall be punishable by a fine which shall not exceed $250 or by imprisonment not exceeding 15 days, or both such fine and imprisonment, or by a penalty not exceeding $500 for a corporation, which may be recovered by the City in a civil action.
B.
The City may maintain an action or proceeding in a court of competent jurisdiction to compel compliance with or to restrain by injunction the violation of any provision of the Code of the City of Mount Vernon, notwithstanding that the Code of the City of Mount Vernon may provide a penalty for such violation.