A quasi-contract is not actually a contract but is instead a remedy. Also known as an implied-in-law contract, it is recognized in order to do justice under contract law, such as wherein the doctrine of promissory estoppel is applied.
An implied-in-fact contract is a contract deemed to exist between parties whose conduct tacitly recognizes the existence of a contract between them.