Ordered that the order is affirmed, with one bill of costs.
To succeed on a motion to dismiss pursuant to CPLR 3211 (a) (1), the documentary evidence that forms the basis of the defense must be such that it resolves all factual issues as a matter of law, and conclusively disposes of the plaintiffs claim (see Leon v Martinez,
The plaintiffs remaining causes of action were also properly dismissed. “On a motion to dismiss pursuant to CPLR 3211 (a) (7), the court must determine, accepting as true the factual averments of the complaint and according the plaintiff the benefit of all favorable inferences, whether the plaintiff can succeed upon any reasonable view of the facts as stated” (Schneider v Hand,
