I have struck with some simple if else checking
var IsCompanyContacttitleUpdate = false; var ContactStatus = -1; if ((IsCompanyContacttitleUpdate == false) &am
(ContactStatus == 2 || 3 || 4))
Here is your problem. You are saying if ContactStatus equals 2, it is true, OR true OR true.
ContactStatus
False = 0, True is anything not 0.
You need to rewrite that as:
(ContactStatus == 2 || ContactStatus == 3 || ContactStatus == 4))
It should work if you change that one thing