In an action, inter alia, to recover dam
Ordered that the order is affirmed insofar as appealed from, with costs.
The defendant moved pursuant to CPLR 3211 (a) (1) and (7) to dismiss the plaintiffs complaint. In the order appealed from, Justice DiNoto stated, incorrectly, that the defendant’s motion was for summary judgment. Justice DiNoto also inconsistently, but correctly, stated that the defendant’s motion was brought pursuant to CPLR 3211 (a) (1) and (7). The court then went on to discuss the standards governing a motion for summary judgment and, without addressing any of the facts of this case, or specifically converting the defendant’s motion into one for summary judgment, denied the defendant’s motion. Insofar as the court in effect converted the defendant’s motion into one for summary judgment, it erred, as he failed to first give notice to the parties (see, Matter of Ward v Bennett,
“On a motion to dismiss pursuant to CPLR 3211, the pleading is to be afforded a liberal construction (see, CPLR 3026). We 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 * * * Under CPLR 3211 (a) (1), a dismissal is warranted only if the documentary evidence submitted conclusively establishes a defense to the asserted claims as a matter of law * * * In assessing a motion under CPLR 3211 (a) (7), however, a court may freely consider affidavits submitted by the plaintiff to remedy any defects in the complaint * * * £the criterion is whether the proponent of the pleading has a cause of action, not whether he has stated one’ ” (Leon v Martinez,
