(a) The Attorney General, or any district attorney, shall commence an action in any court of competent jurisdiction, in the name of the state as plaintiff on the relation of the Attorney General or such district attorney, to enjoin any person from violating any of the provisions of this act. Such action may be maintained upon due showing that the defendant has violated or is threatening to violate any of the provisions of this act.
(b) Upon being presented with the petition of any resident of this state, verified upon oath, stating facts showing that such resident has reasonable grounds to believe that some person has violated or is threatening to violate any of the provisions of this act, it shall be the duty of any district attorney of this state to commence such action for injunction within his county against the person complained of in said petition.
Laws 1941, p. 209, § 16.