From 81d3e016c21b13d17118793e8816ae0ef49a34a7 Mon Sep 17 00:00:00 2001 From: "ashutosh.nehete" Date: Fri, 16 May 2025 15:13:29 +0530 Subject: [PATCH] When checking in exsiting tag change Id from mapping Id to Tag ID --- Marco.Pms.Services/Helpers/DirectoryHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marco.Pms.Services/Helpers/DirectoryHelper.cs b/Marco.Pms.Services/Helpers/DirectoryHelper.cs index 345dd99..3c67585 100644 --- a/Marco.Pms.Services/Helpers/DirectoryHelper.cs +++ b/Marco.Pms.Services/Helpers/DirectoryHelper.cs @@ -1716,7 +1716,7 @@ namespace Marco.Pms.Services.Helpers } foreach (var contactTag in contactTags) { - if (!updatedTagIds.Contains(contactTag.Id)) + if (!updatedTagIds.Contains(contactTag.ContactTagtId)) { _context.ContactTagMappings.Remove(contactTag); }