delivered the opinion of. the court.
The question presented by this record for our determination, is the sufficiency of the following petition :
“Plaintiff states that defendant is now and has been for ten years last past, a municipal corporation, in the State of Missouri, organized under and by virtue of the laws of the State of Missouri, and that said defendant, by virtue of its charter and laws, has and has had power by ordinance to macadam, pave, curb, gutter, and otherwise improve the streets of said city ; that about February, 1868, said defendant ordered the city engineer of said city to let out contracts for macadamizing, guttering, paving and'curbing Sylvania street, from 8th street to the alley between Twelfth and Thirteenth streets in said city, and ordered by a resolution of said city council, said street to be macadamized, paved, curbed and guttered; that in obedience to said order, the city engineer of defendant, and in pursuance of said order, contracted with Peter Young and Frank Oberdorf to do said work, and who went on under their contract, to perform the said work in said contract mentioned, and completed the same about the first day of March, 1868, *157and which said work was accepted by said engineer, in discharge of said contract; that one James T. Beach and Sarah Beach, at the time said work was done, were and still are the owners of lot 8 in block 25 in Smith’s addition to the city of St. Joseph, Missouri, and said lot fronts on Sylvania street, between 8th and the alley between 12th and 13th streets in said city; that under the charter of said defendant and its ordinances, the cost of doing the said work was to be assessed-on the lots, fronting on said street, in proportion to the front foot, etc.; that after said work was done, defendant’s engineer assessed the cost,of said work against said lot including cost of alley and street crossings at $133.00 altogether, and made his bills to that purport, and which said bills from their date, about March 1, 186S, bear interest at fifteen per cent, per annum, and delivered the same to said Young and Obendorf; that they; about May, 1868, assigned all their interest in said claims and demands to plaintiff. Plaintiff further says that about July, 1868, he commenced a suit in the Buchanan Circuit Court, afterwards by change of venue prosecuted in the Buchanan Court of Common Pleas, Missom-i, against the said Beach, to recover judgment on account of said -work so done, in which said last named court this plaintiff recovered a judgment on the-day of December, 1871, for the sums of $60S.75 and $79.71, in all $788.19; that said defendant appealed from said judgment to the Supreme Court of the State of Missouri, where, at its August term, 1872, the said judgment was reversed and set aside, upon the ground that defendant had ordered said work done by a resolution of its council, instead of an ordinance, and that plaintiff, by reason of the failure of said city, could not recover for said work done; that plaintiff, in said court below and in said Supreme Court, had to lay out and pay out, as costs and expenses incurred in and about said suit, the sum of $250; that demand has been made upon defendant, by plaintiff, to pay to plaintiff said sum so due him and said costs so paid, but defendant has failed to pay the same or any part thereof. Wherefore, plaintiff says that an action hath accrued to him to recover of said defendant said' amount aforesaid, and for which plaintiff asks judgment.”
*158To this petition the defendant demurred on the ground that it did not state facts sufficient to constitute a cause of action. The court sustained the demurrer and rendered final judgment thereon, and the plaintiff brings the case here by writ of error.
This court held in the ease of Saxton vs. Beach (50 Mo., 488), that the resolution of the common council of defendant, ordering the work to be done, was a nullity; that if the work could have beeu oi’dered at all by resolution, it could only have been ordered by a resolution passed by both the mayor and the council; that the council could no more act alone in the premises, than the mayor could, himself act, without the concurrence of the council. The city charter declares that the city shall -not be liable, in any manner whatever, for or on account, of any work done, which is made a charge upon the adjoining property, fronting upon the work done. Plaintiff, having failed to collect the amount of his tax bills from the property owners, and having no recourse against the city, now seeks to recover the sum expended by him in testing the validity of the resolution of the common council, under which the work was done.
The theory of the plaintiff’s case seems to be, that as the city had undertaken to order the work to be done, on account of which the tax bill was issued, and had so imperfectly and illegally executed its purpose, as to give to the contractor, and to plaintiff, as his assignee, no right of action against the property, which would have been liable, but for the fault of the city, and in consequence thereof, he had fruitlessly expended the sum of $250 in attempting to collect said tax bill, that the city is liable to him in damages to that amount.
According to our view, the city never attempted to act in the premises. It could only act in such matters by its mayor and council. The act of the council alone was not the act of the city. The letting of the contract by the engineer, and the acceptance of the work by him, and the issuance of the tax bill, would have been as valid and binding without the resolution of the common council, as those acts were with it. *159There was no action whatever, imperfect or defective, on the part of the only officers who wore authorized by the charter to act for and bind the city in the premises. This action, therefore, would seem to be, in reality, an effort to hold the city liable for the failure of its mayor and council to order the work to be done, which the council alone, attempted to direct to be done.
Erom all that appears in this case, the city was under no legal obligation to the plaintiff, or the contractor, or the public, to order this work to be done. (Mills vs. The City of Brooklyn, 32 N. Y., 495, et seq.) That was a matter resting in the sound discretion of its mayor and council, and a question in which neither the contractor nor the plaintiff had any interest, at the time, so far as appears from the face of the petition.
In the case of Clayburgh vs. City of Chicago (25 Ill., 535), an action was sustained against the city for neglecting and wilfully refusing to collect an assessment levied to compensate the plaintiff for damages sustained by reason of opening a street over his lot; but, in that case, the duty imposed was absolute and perfect, was not discretionary or judicial, and was one owing to the plaintiff.
Nor is the case at bar analagous to that of Fisher vs. The City of St. Louis (44 Mo., 482), cited by plaintiff, the facts of which it is not necessary to recite here. But it may not be out of place to remark, that the case of Wetmore vs. Campbell (2 Sandf., 350-1), cited by Judge Currier in support of Fisher’s right to recover in that ease, arose upon statutes authorizing the corporation of the city of New York to construct sewers in either of two methods ; first, they could have an estimate and assessment of the probable expense made, confirmed and collected, and then proceed to the execution of the work; or, second, they could execute the work at their own expense, and after its completion, and when the actual cost was ascertained, they could assess the same, with the charges, upon the houses and lots benefited, and collect such assessments as before. In that case, by the terms of the contract and under the law, á corporate liability was incurred to the contractor.
*160Nor do we think the doctrine, that although a city is not bound to undertake the execution of all public work authorized by its charter, yet where it does do so, it will be liable in damages to those injured by the negligent manner in which such work is performed, by its agents and servants, can be held to apply to defective legislation.
Besides, every one is conclusively presumed to know the law, and, as the plaintiff was chargeable with knowledge that his tax bill was invalid, the city cannot be held liable for the useless expenditure made by him in his effort to enforce its collection. That was an investment, the loss of which must be borne by himself.
The judgment of the Circuit Court is affirmed; all the judges concur, except Judge Tories, not sitting.