Any contract, express or implied, made by any person, firm, or corporation in violation of this part is declared to be an illegal and void contract and no recovery thereon shall be had.