validation code snippet : for StateFarmids and Othertimecardids
foreach (var Item in lstTimeCards)
{ DateTime _LastModifiedDateTC = Global.GetTimecardLastModifiedDate(Item.TimeCardID, (int)InvoiceSourceTypes.PerHour ).GetValueOrDefault(); if (Item.LastModifiedDate == _LastModifiedDateTC && IsDateNotMatched == false)