/// <summary> /// Determines whether item should be excluded from Audit. /// </summary> /// <param name="extractItem">The extract item.</param> /// <returns>Whether item should be excluded</returns> private bool ExcludeFromAuditYN(ExtractItemModel extractItem) { return(string.IsNullOrWhiteSpace(extractItem.EmployeeID) || string.IsNullOrWhiteSpace(extractItem.SecurityGroup) || string.IsNullOrWhiteSpace(extractItem.UserName) || extractItem.EmployeeID.Trim().ToLower() == "multiple"); // !extractItem.SecurityGroup.ToLower().Contains("template") || }
/// <summary> /// Determines whether item should be excluded from Audit. /// </summary> /// <param name="extractItem">The extract item.</param> /// <returns>Whether item should be excluded</returns> private bool ExcludeFromAuditYN(ExtractItemModel extractItem) { return (string.IsNullOrWhiteSpace(extractItem.EmployeeID) || string.IsNullOrWhiteSpace(extractItem.SecurityGroup) || string.IsNullOrWhiteSpace(extractItem.UserName) || extractItem.EmployeeID.Trim().ToLower() == "multiple"); // !extractItem.SecurityGroup.ToLower().Contains("template") || }