—In an action, inter alia, to recover damages for unjust enrichment, the defendant appeals from so much of an order of the Supreme Court, Dutchess County (Beisner, J.), dated October 10, 2001, as denied that branch of its motion pursuant to CPLR 3211 (a) (7) which was to dismiss the third cause of action to recover damages for unjust enrichment.
Ordered that the order is affirmed insofar as appealed from, with costs.
The Supreme Court properly denied that branch of the defendant’s motion pursuant to CPLR 3211 (a) (7) which was to dismiss the third cause of action to recover damages for unjust enrichment. On a motion to dismiss pursuant to CPLR 3211, the court must “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 into any cognizable legal theory” (Leon v Martinez,
Here, while the parties do not dispute the existence of two agreements entered into between the plaintiffs and a nonparty which ultimately may govern the dispute herein, there is a dispute as to whether the defendant assumed the nonparty’s obligations to the plaintiffs under these agreements and therefore, as to whether the agreements govern the parties’ dispute. Under these circumstances, and at this early juncture in the litigation, the plaintiffs are entitled to proceed on both quasi contract and breach of contract theories. Krausman, J.P., Friedmann, Mastro and Rivera, JJ., concur.
