PARSIPPANY CONSTRUCTION COMPANY, INC., appellant, v. CLARK PATTERSON ASSOCIATES, P.C., respondent.
In an action, inter alia, to recover damages for negligence, the plaintiff appeals from so much of an order of the Supreme Court, Rockland County (Nelson, J.), dated February 16, 2006, as granted that branch of the defendant's motion which was pursuant to CPLR 3211(a)(7) to dismiss the second cause of action.
ORDERED that the order is affirmed insofar as appealed from, with costs.
In considering a motion to dismiss for failure to state a cause of action pursuant to CPLR 3211(a)(7), the allegations in the complaint should be accepted as true (see Leon v. Martinez, 84 N.Y.2d 83, 87-88, 614 N.Y.S.2d 972, 638 N.E.2d 511). Such a motion should be granted only where, even viewing the allegations as true, the plaintiff still cannot establish a cause of action (see Morales v. Copy Right, Inc., 28 A.D.3d 440, 441, 813 N.Y.S.2d 731; Hartman v. Morganstern, 28 A.D.3d 423, 424, 814 N.Y.S.2d 169; Asgahar v. Tringali Realty, Inc., 18 A.D.3d 408, 409, 795 N.Y.S.2d 68). The court should “accept the facts as alleged in the complaint as true, accord plaintiffs the benefit of every possible favorable inference, and determine only whether the facts as alleged fit within any cognizable legal theory” (Leon v. Martinez, supra ).
However, “bare legal conclusions and factual claims which are flatly contradicted by the evidence are not presumed to be true on a motion to dismiss for failure to state a cause of action” (Meyer v. Guinta, 262 A.D.2d 463, 464, 692 N.Y.S.2d 159; see Ahmed v. Getty Petroleum Mktg. Inc., 12 A.D.3d 385, 385-386, 786 N.Y.S.2d 188; CPLR 3211[a] ).
Here, the plaintiff's allegation that the defendant owed it a duty of care was flatly contradicted by the plaintiff's contract with the nonparty school district that had hired both the plaintiff and the defendant, which expressly provided that no contractual relationship arose between the parties by virtue of that contract. The plaintiff failed otherwise to allege any valid basis for the imposition of a duty of care. Therefore, the Supreme Court properly granted that branch of the defendant's motion which was pursuant to CPLR 3211(a)(7) to dismiss the second cause of action.