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 c785b270f0
commit 2d939e5372

View File

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