As stated above, the contract between the parties is valid. Therefore, the liabilities and rights could only depend on theories of breach of contract but not quasi-contract theory. Supreme court then stated that Appellate Division erred in reinstating plaintiff’s cause of action alleging unjust enrichment.