A valid and enforceable contract governing the subject matter at issue precludes recovery in quasi-contract for events arising out of that subject matter.
Lantau Holdings Ltd. v. General Pac. Group Ltd., NY Slip Op 04952 (1st Dep't July 3, 2018)
Here is the decision.