Section Fourteen Hundred and Twenty-eight. An obligation arises either from:
One-The contract of the parties; or,
Two-The operation of law. An obligation arising from operation of law may be enforced in the manner provided by law, or by civil action or proceeding.
Ca. Civ. Code § 1428