FIxed issues invalid validation
This commit is contained in:
parent
b61caa9ee7
commit
3f18371330
@ -190,7 +190,7 @@ namespace Marco.Pms.Services.Helpers
|
||||
{
|
||||
var tenantId = _userHelper.GetTenantId();
|
||||
Employee LoggedInEmployee = await _userHelper.GetCurrentEmployeeAsync();
|
||||
if (contactTagDto != null && contactTagDto.Id != id)
|
||||
if (contactTagDto != null && contactTagDto.Id == id)
|
||||
{
|
||||
ContactTagMaster? contactTag = await _context.ContactTagMasters.AsNoTracking().FirstOrDefaultAsync(t => t.TenantId == tenantId && t.Id == contactTagDto.Id);
|
||||
if (contactTag != null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user