From 1cec6f453625c683d2b77f53875deb0958cd0768 Mon Sep 17 00:00:00 2001 From: anperederi Date: Wed, 14 Feb 2024 09:59:25 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20Equals=20method=20in=20Acc?= =?UTF-8?q?ount.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Banquale/Model/Account.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Banquale/Model/Account.cs b/src/Banquale/Model/Account.cs index 517c4d6..4202fc2 100644 --- a/src/Banquale/Model/Account.cs +++ b/src/Banquale/Model/Account.cs @@ -198,7 +198,7 @@ namespace Model public override bool Equals(object obj) { if (obj == null) return false; - else return obj.IBAN.Equals(IBAN); + else return obj.Equals(this); } ///