When checking in exsiting tag change Id from mapping Id to Tag ID

This commit is contained in:
ashutosh.nehete 2025-05-16 15:13:29 +05:30
parent 49ddd3ec45
commit 4b4ebee1a1

View File

@ -377,7 +377,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);
}