Quasi contract (or quasi-contract) example II

Sally hired a painter to paint her home. Instead of painting Sally's home, the painter accidentally painted Sally's neighbor Dan's home. Dan watched the painter paint his home but said nothing, figuring his home could use a fresh coat of paint. The painter has a quasi-contract cause of action against Dan and may recover under a theory of quantum meruit, because the painter conferred a benefit on Dan, which Dan appreciated, accepted, and retained; it would be inequitable for Dan not to pay the painter.