ship with the defendant as a prerequisite to recovery under the equitable doctrine of unjust enrichment. We find no error.
The following facts are not in dispute. An automobile owned by the plaintiff’s insured was involved in an accident with a vehicle owned by the defendant’s insured, causing injuries to the driver and passenger of the plaintiff’s insured’s car. The defendant denied coverage for the injury claims arising from the accident. The plaintiff’s insured and passenger then sought to recover damages from the plaintiff under the uninsured motorist coverage of the policy. This claim was submitted to arbitration. An award to the claimants was paid by the plaintiff. The plaintiff, thereafter, brought this action against the defendant seeking to recover “payments [that] were required to be made by the plaintiff as a direct and proximate result of the defendant’s wrongful denial of coverage to its insureds.”
The plaintiff claims that by its payment of damages which were “rightfully the responsibility of the defendant,” the defendant was unjustly enriched. Although the complaint does not specifically refer to unjust enrichment as the principle upon which relief should be granted, the parties agree that this was the theory presented to, and passed upon by, the trial court. We shall, therefore, decide this appeal on that basis. L. F. Pace & Sons, Inc. v. Travelers Indemnity Co., 9 Conn. App. 30, 35 n.4, 514 A.2d 766, cert. denied, 201 Conn. 811, 516 A.2d 886 (1986).
After the pleadings were closed, the defendant moved for summary judgment. The trial court granted the motion, observing that there was “no allegation in this complaint that the plaintiff could have had a contractual relationship with the defendant.” The court specifically found that the plaintiff’s payment of the claims