OPINION
1. Appellant Robert Zamora appeals from a district court order granting a motion to dismiss in favor of Appellee Village of Ruidoso Downs. We address two issues on appeal: (1) Whether the district court erred when it concluded that the procedure to appeal a village personnel board’s administrative decision was to petition the district court for a writ of certiorari, and (2) whether the district court erred when it concluded that Zamora failed to perfect a timely appeal. We review this ease pursuant to SCRA 1986, 12-102(A)(1) (Repl.Pamp.1992), affirm on the first issue, and reverse and remand on the second issue.
I.
2. On November 13, 1986, Zamora was employed by the Village, and on March 1, 1987, he became a permanent employee. On February 25, 1990, Zamora was injured in a non-employment-related accident. Pursuant to Section 3-9-27 of the Ruidoso Village Ordinance, the mayor granted Zamora a six-month disability leave without pay. 1 On April 23 Zamora received a partial medical release and requested to be assigned to light-duty work. The mayor refused to assign light-duty work to Zamora until he received a full medical release.
3. On September 17 the Village notified Zamora that his six-month disability leave had expired and that he was relieved of his duties. On October 2 Zamora filed a written request before the Village Board of Trustees to appeal the Mayor’s decision to terminate his employment. The Board of Trustees, sitting as the Ruidoso Downs Personnel Board, granted Zamora’s request. On October 20, after hearing the appeal, the Board upheld the Mayor’s decision to terminate Zamora’s employment.
4. On February 3, 1993, Zamora filed a complaint in district court for breach of employment contract and wrongful termination, alleging that the Ordinance required the Village to assign him to light-duty work. 2 On November 15 the Village filed a motion for summary judgment in which it conceded that the Ordinance was an implied employment contract but argued that there was no light-duty work available to which Zamora could be assigned. On January 5,1994, the Village filed a motion to dismiss pursuant to SCRA 1986, 1-012(B)(6) (Repl.Pamp.1991). The Village argued that absent a statute providing otherwise, Zamora can appeal the Board’s administrative decision only by first petitioning the district court for a writ of certiorari. The Village also argued that the petition for a writ of certiorari must be filed within thirty days of the Board’s administrative decision and that, by filing his complaint twenty-eight months after the fact, Zamora failed to perfect a timely appeal. On March 11 the district court filed an order granting the motion to dismiss. Zamora now appeals.
II.
5. We address whether the district court erred by concluding the procedure to appeal a village personnel board’s administrative decision was to petition the district court for a writ of certiorari. Zamora argues that the district court erred, and his argument proceeds on two points: (1) The Board lacks jurisdiction to hear his claim for breach of an implied employment contract, and (2) the scope of review at the district court is de novo. We disagree with Zamora and hold that, unless otherwise provided by statute, the correct procedure to appeal a personnel board’s administrative decision is to petition the district court for a writ of certiorari.
6. “Dismissal of a contract claim on a Rule 12(b)(6) motion is a legal, not evidentiary, determination____ ‘[T]he court must accept as true all the facts which are pled.”’ Vigil v. Arzola,
A.
7. Zamora argues that the Board does not have jurisdiction to hear his breach of implied employment contract claim because “[a]ll cases dealing with wrongful discharge by breach of contract in New Mexico have been tried de novo.” We disagree.
8. The Board derives its authority over employment matters from NMSA 1978, Section 3-13-4(A) (Repl.Pamp.1985), which authorizes municipalities, including the Village, to establish by ordinance a merit system for the hiring, promotion, and discharge of municipal employees. Municipalities are also authorized to create a personnel board to administer the ordinance, Section 3-13-4(A)(1), and to establish rules including methods of employment, promotion, demotion, suspension, and discharge, Section 3-13-4(A)(2)(e). The ordinance is a “contract of employment between the municipality and an employee____” Section 3-13-4(C). Accordingly, the Village adopted an Ordinance that includes sections relating to employee discipline, termination for “just cause,” and for appeal of discipline and termination decisions to the personnel board. Thus, the Board was acting within its jurisdiction afforded by statute.
9. New Mexico courts have stated that an administrative body acts in a “quasi-judicial” capacity when it is “required to investigate facts, or ascertain the existence of facts, hold hearings, and draw conclusions from them, as a basis for their official action, and to exercise discretion of a judicial nature.” Dugger v. City of Santa Fe,
10. By arguing the Board has no jurisdiction to determine employment rights, Zamora has overlooked a fundamental distinction between public and private employment. A public employee who successfully can assert a property interest in employment is entitled to due process before he or she can be terminated. Board of Regents v. Roth,
11. At a minimum, due process must include notice and opportunity to respond prior to termination. Cleveland Bd. of Educ. v. Loudermill,
12. In his complaint for breach of implied employment contract, Zamora argues that the Village, contrary to the Ordinance requirements, refused to assign him to light-duty work. Zamora, however, ignores the fact that this question was already considered by the Board. The Ordinance requires “just cause” before a regular employee may be dismissed, and the dismissal is “effective when endorsed by the [Board].” Section 3-7-10. The Board’s task was to determine whether there were “reasonable grounds” or “just cause” to uphold the Mayor’s decision. The Ordinance provides a maximum six-month disability leave without pay. After having been on leave for more than six months, Zamora told the Board he had not yet received a full medical release to return to work and he did not know when he would obtain such a release. The Board, therefore, upheld the Mayor’s decision. 3 Although the proceedings before the Board may not have been termed an action for breach of implied employment contract, those proceedings necessarily involved the question of whether the Ordinance — the basis of Zamora’s alleged implied employment contract — was indeed violated.
B.
13. As a second point, Zamora argues the scope of review at the district court is trial de novo. Here, too, we disagree.
14.As we have noted above, the Board is delegated authority to administer matters relating to employment. In that capacity, the personnel board is an “administrative” body with authority to investigate and ascertain evidence in order to determine an individual’s substantive rights in employment. Absent a statute providing otherwise, the Board’s determinations are reviewable at the district court only by writ of certiorari for arbitrariness, capriciousness, fraud, or lack of substantial evidence.
[I]t is not the province of the reviewing court to interfere with a civil service commission’s judgment and direct an order of affirmance or reversal of an order removing an officer, but the court is limited to a determination of whether the commission regularly pursued the authority conferred upon it, and the court may not reverse the case on the facts unless the commission acted arbitrarily or capriciously. In other words, the question of whether cause for discharge exists should generally be determined by the administrative agency and substantial deference must be given to its ruling.
4 Eugene McQuillen, Municipal Corporations § 12.266, at 675 (3rd ed. 1992). New Mexico has consistently followed this principle. See Montoya v. City of Albuquerque,
15. This appears to be the prevailing principle in other jurisdictions as well. See, e.g., Matter of Larkin,
16. We have recognized de novo review at the district court of administrative decisions when such review is provided by statute. See Keller v. City of Albuquerque,
17. “A writ of certiorari ... lies when it is shown that an inferior court or tribunal has exceeded its jurisdiction or has proceeded illegally, and no appeal or other mode of review is allowed or provided.” Rainaldi v. Public Employees Ret. Bd.,
18. This Court has long held that “[c]ertiorari is the appropriate process to review the proceedings of bodies ... acting in a judicial or quasi[-]judicial character----” State ex rel. Sisney,
19. Zamora cites Groendyke Transport Inc. v. New Mexico State Corp. Commission,
if the agency, rather than using its resources to develop the facts relevant to a proper interpretation, ignores the pertinent facts, or if the agency, rather than using its knowledge and expertise to discern the policies embodied in an enactment, decides on the basis of what it now believes to be the best policy.
High Ridge Hinkle v. City of Albuquerque,
20. Zamora also cites Mata v. Montoya,
21. The cases cited in Keller were provided by this Court in Mata simply to support the general rule that when reviewing administrative decisions, the district court acts as an appellate court, not as a fact finder. Id. The exception to the general rule, as noted by this Court in Mata, is when a statute provides a greater scope of review.
22. Zamora also cites Linney v. Board of County Comm’rs of Chaves County,
23. Finally, Zamora calls our attention to Wheatley v. County of Lincoln,
24.- In Wheatley we expressed our concern that allowing a county personnel board to determine whether a county officer breached an employment contract may be akin to allowing “the wolf to guard the hen-house.” Id. at 748,
25. Unless a statute provides otherwise, municipal personnel board decisions are reviewable at the district court only by writ of certiorari and on the whole record for arbitrariness, capriciousness, fraud, or lack of substantial evidence. In Wheatley we said that the employee was entitled to a trial de novo on his claim for breach of contract. That decision is inconsistent with our decision today (1) that municipal personnel boards are administrative agencies, the decisions of which may be reviewed on writ of certiorari by the district court, and (2) that the district court reviews such decisions on the whole record for arbitrary or capricious action, fraud, or lack of substantial evidence. To the extent of these inconsistencies, we overrule Wheatley.
26. In Wheatley we also said that “[u]n-less the legislature has expressly provided a eonstitutionally-suffieient independent quasi-judicial proceeding for review of termination of a tenured public employee, see, e.g., NMSA 1978, § 22-10-14.1 (Supp.1994) (providing special appeals process for terminated public school employees), the employee is entitled to a trial de novo in district court.”
27. Nevertheless, we emphasize that the limitation on district court review does not preclude real scrutiny. See State ex rel. Hughes v. City of Albuquerque,
III.
28. Finally, we address whether Zamora’s complaint, filed in district court almost twenty-eight months after the Board’s decision, was untimely. We note that there is no statutory time by which to file a petition for a writ of certiorari. This Court has discussed the issue previously, yet some ambiguity remains.
29.In Eigner v. Geake,
30. After Eigner was decided, the statutory time limit for appeals from final judgments of the district courts suing out writs of error was shortened from three months to thirty days. In Board of Education v. Rodriguez,
31. In Roberson v. Board of Educ., we addressed whether a petition for writ of certiorari was barred after fifteen and one-half months. We stated that
no purely arbitrary time limit should be placed upon our right to issue certiorari; that the question should always be one of laches strictly; that where the lapse of time has not been accompanied by any change in situation, to the prejudice of a party if his victory should be turned into defeat on review, a delay ... though seriously to be considered, should not necessarily be fatal.
32. We hold that the time limit in which a petition for writ of certiorari must be filed is determined by principles of laches. That is, in the absence of a statute providing otherwise, a petition for a writ of certiorari must be filed within thirty days of an administrative decision. If the petition is filed beyond the thirty-day limit, the district court shall consider the length of time the petition was delayed, whether the defendant has been prejudiced by the delay, and whether the petitioner has exceptionally good cause for such a delay. Application of laches is determined on a ease-by-case basis. Hughes,
IV.
33. In conclusion, we hold that the district court was correct in determining that, absent a specific statutory provision, the procedure to appeal the Village Personnel Board’s administrative decision was to petition the district court for a writ of certiorari. Accordingly, the standard of review by the district court of an administrative decision is limited to the whole record for arbitrariness, capriciousness, fraud, or lack of substantial evidence. Finally, we reverse the district court and remand with instructions to determine whether Zamora perfected a timely appeal.
34. IT IS SO ORDERED.
Notes
. Section 3-9-27 of the Ordinance states in pertinent part: "Permanent employees may be granted personal leave without pay under certain conditions .... [T|he Mayor must approve request for more than five days____ An employee may be granted leave without pay for a period not to ■ exceed six (6) months because of illness or disability when certified by a physician____"
. Section 3-7-7 of the Ordinance states in pertinent part: "Employees who have suffered disability and cannot perform their duties shall be assigned to light duty positions that they are able to perform, if such work is available.”
. This is not to say, however, that the Board's decision was or was not arbitraiy, capricious, or fraudulent, or not based on substantial evidence. See Mata v. Montoya,
. The Court in Roberson cited Gallup Southwestern only for its persuasiveness. Only three of the five justices, a bare majority, participated and "found themselves divided in principle and thus unable to dispose of [the case] in a manner to make it a precedent.” Gallup Southwestern,
