protected static int?GetATCID(int accountTypeID) { int?result = null; int val; if (!atcidCache.TryGetValue(accountTypeID, out val)) { result = InternalGetATCID(accountTypeID); if (result.HasValue) { atcidCache.AddOrUpdate(accountTypeID, result.Value); } } else { result = val; } return(result); }