Original application for writ of mandamus. The petition for the writ avers in substance, that the petitioner is, and for many years last past has been, engaged as an expert in ascertaining the cost of construction and cost of duplication of railroads and public works, and is, and for many years last past has been, a qualified expert in ascertaining the cost of construction of railroads and other public work; that the railroad commission of this state, at a regular meeting, duly hired and employed the petitioner to inspect the railroads constructed within the state, and to assist the commission in ascertaining the amount of money expended in the construction and equipment per mile of each and all of said railroads, and then and there agreed to pay the petitioner, from the appropriation provided in the act creating the railroad commission, a salary of $1,000 per month, and necessary traveling expenses while engaged upon the discharge of his duties, the petitioner to have full charge and direction of the entire work connected therewith, subject to the approval of the commission; that there are approximately-3,-700 miles of railroad and side-tracks within the state, and the work connected therewith will necessitate the employment of many engineers and accountants, and the examining and ex-*439perting of maps, profiles, books and records of all of said railroads, together with an examination and survey of the tracks and lines, and requires knowledge and skill of a high degree in order to comply with the provisions of said act; that, in pursuance of said contract of employment, the petitioner duly qualified and entered upon the discharge of his duties on the 21st day of July, 1906,-and remained continuously therein until the 1st day of September, 1906, and is still so employed; that at a regular meeting of the railroad commission, held on the 1st day of September, 1906, said commission duly examined, audited and allowed the petitioner’s claim for salary up to said date, under said contract of employment, amounting in all to the sum of $1,364, and the chairman of said commission certified the same to be correct; that said claim was thereupon presented to the respondent as state auditor, but the respondent rejected the same, and refused to draw his warrant on the treasurer for the amount thereof; that the petitioner is the owner and holder, of said claim, is the party beneficially interested therein, and has no plain, speedy or adequate remedy at law.
The answer or return of the state auditor admits the contract of employment as set forth in the petition, but avers that the terms of the contract are unreasonable and excessive; denies that the railroad commission had any power or authority in law to audit or allow the claim; admits that the claim was presented as alleged and by him rejected, and avers, by way of an affirmative defense, that the respondent deemed the claim unreasonable and excessive and not a valid claim against the state, wherefore, he rejected and disallowed the same. The issues thus presented involve in a measure the powers of the railroad commission and the functions of the state auditor.
Section 2 cf the Railroad Commission Act, Laws of 1905, page 145, provides that
“Said commission may appoint a secretary at a salary of not more than two thousand dollars per annum, and may *440appoint such clerks as may be necessary, not to exceed three in number, at a salary of not to exceed twelve hundred dollars per annum each, and such other persons as experts as may be necessary to perform the duties that may be required of them by said act.”
Section 12 provides that,
“The commission shall ascertain as early as practicable the amount of money expended in the construction and equipment per mile of every railway in Washington. The commission may also ascertain the amounts paid for salaries to the officers of the railroad or express companies and the wages paid to employees. For the purpose in this section named, the commission may employ sworn experts to inspect and assist them when needed, and from time to time, as the information required by this section is obtained, it shall communicate the same to the attorney general by report, and file a duplicate thereof with the secretary of state for public use, and said information shall be printed from time to time in the annual report of the commission.”
The foregoing statutory provisions authorize the contract of employment set forth in the petition. As said by the court in McCluskey v. Cromwell, 11 N. Y. 593,
“To employ, is ‘to engage m one’s service; to use as an agent or substitute in transacting business; to commission and entrust with the management of one’s affairs;’ and when used in respect to a servant or hired laborer, is equivalent to hiring, which implies a request and a contract for a compensation, and has but this one meaning when used in the ordinary affairs and business of life.”
Under § 2, supra, the commission clearly has authority to fix the compensation of its secretary and clerks, within the limits imposed by the statute, and we think the same power exists as to the experts provided for in §§ 2 and 12 of the act. It is scarcely to be supposed that one whose compensation is measured by no fixed rules would voluntarily enter the employ of the state, and leave the question of his compensation to the discretion of the state auditor, or to the un*441certainty of litigation after his contract of service was completed, and we do not think that the legislature so intended. On the other hand, it would seem to be in the interest of the state, and in consonance with sound business principles, to know the extent of the state’s liability before the indebtedness against it becomes an established fact. For these reasons we are of the opinion that the contract out of which this controversy arose is a binding obligation of the state, and as such is governed by the same rules as any other contract.
“There is not one law for the sovereign and another for the subj ect; but, when the sovereign engages in business and the conduct of business enterprises, and contracts with individuals, although an action may not lie against the sovereign for a breach of the contract, whenever the contract, in any form, comes before the courts, the rights and obligations of the contracting parties must be adjusted upon the same principles as if both contracting parties were private persons. Both stand upon equality before the law, and the sovereign is merged in the dealer, contractor and suitor.” People v. Stephens, 71 N. Y. 527, 549.
Of course, like any other contract, the contract of the state may be impeached for fraud, but no such question is presented by the answer before us. True, the answer avers that the compensation agreed upon was unreasonable and excessive, but, in the absence of fraud, the railroad commission is the sole judge of that question. So long as the legislature keeps within the constitution, and the officers charged with the administration of the law keep within the statute, the state auditor and the courts have no concern with the policy of the law or the methods employed in its administration.
The petitioner contends that the state auditor acted in a purely ministerial capacity in drawing his warrant on the state treasurer upon the presentation of his claim, whereas the respondent contends that he exercised judgment and discretion in its adjustment and settlement. Subd. 1 of § 134, *442Bal. Code (P. C. § 8391), provides that it shall be the duty of the state auditor:
“ . • • to audit, adjust, and settle all claims against the state, payable out of the treasury, except only such claims as may be expressly required by law to be audited and settled by other officers or persons.”
Section 147 (P. C'. 8 8404), provides that:
‘‘The auditor, whenever he may think it necessary in the settlement of any account or the drawing of any warrant, may examine the party, witnesses, and others on oath or affirmation touching any matter material to be known in the settlement of the account or the drawing of the warrant, and for that purpose he may issue summons and compel witnesses to attend before him and give testimony in the sáme manner and by the same means allowed in courts of record, and he shall reduce such evidence to writing, and file the same in his office.”
Under these provisions, where the amount of a claim is fixed by law, or where the claim is audited and settled by some other officer or person by express authority of law, the auditor acts in a purely ministerial capacity in drawing his warrant on the treasurer; but in all other cases he exercises judgment and discretion in the adjustment and settlement of the claims presented to him. In this connection the respondent contends that the railroad commission had no authority to audit or adjust the claim in suit, and this is perhaps true. The commission seems to have no express authority to audit and adjust claims, except the traveling expenses of the commissioners, their secretary and clerks, under 8 2, and the fees of witnesses under 8 14. It is proper that all vouchers for debts incurred by the commission should be approved by the commission for the guidance of the state auditor, but whether such approval is anything more than advisory to that officer we need not now determine. Under the old practice in mandamus the question whether an auditing officer, against whom a writ of mandamus was sought, *443acted in a purely ministerial capacity, or whether he exercised judgment and discretion in the settlement and adjustment of claims presented to him, was one of controlling importance, as the writ would lie in the former case but not in the latter. Under the practice in this state, however, the question whether the officer acts in a purely ministerial capacity or whether ho exercises judgment and discretion, seems to be one of little moment, except in so far as it may serve as a guide for the officer himself in the discharge of his official duties.
This court has repeatedly held that a mandamus proceeding under our statute possesses all of the elements of a civil action, and that it is no defense to the-writ to show that the officer to whom the writ is directed exercised judgment and discretion and acted in good faith in the disallowance of the claim upon which the application for the writ is based. If any part of the relief to which the petitioner is entitled is by writ of mandamus the court will try out all incidental questions in the mandamus proceeding. Thus, in State ex rel. Brown v. McQuade, 86 Wash. 579, 79 Pac. 207, after reviewing our previous decisions, the court said:
“In our practice, mandamus is nothing more than one of the forms of procedure provided for the enforcement of rights and the redress of wrongs. The procedure has in it all the elements of a civil action. The facts stated in the affidavit for the writ may be controverted by a return, raising both questions of law and fact. The return likewise may be controverted, and a trial had on the issues of fact thus raised, either before the court, a jury, or a referee, as the court may order. Judgment can be entered on the verdict or findings not only directing the issuance of a peremptory mandate, but for damages and costs on which execution may issue. The statute has been so framed as to afford complete relief in all cases falling within its scope and purport, whether these he cases of wilful violation of recognized rights or denials, made in good faith, that the rights contended for exist. In' other words, the right to sue out the writ" is not made to depend on the character of the dispute, but on what *444answer is given to the question, can the ordinary course of law afford a plain, speedy, and adequate remedy? If the ordinary course of law will furnish such a remedy, the writ will not issue; otherwise, it will. It was to avoid circuity of action, thus doing away with the necessity of resorting to more than one proceeding for the enforcement of a right, that the law was framed.”
See, also, Bacon v. Tacoma, 19 Wash. 674, 64 Pac. 609; State ex rel. Dudley v. Daggett, 28 Wash. 1, 68 Pac. 340, and the numerous cases cited in State ex rel. Brown v. McQuade, supra. Perhaps the same liberal practice would permit the state auditor to interpose any defense that would be available to the state if sued directly; at least, we concede that much in favor of the respondent for the purposes of this case.
For the foregoing reasons, we are of opinion that .the claim in suit is a valid charge against the state, and the writ will issue as prayed.
Mount, C. J., Crow, Root, Dunbar, and Hadley, J.T., concur.