public List <Score> GetNewUnlocksToLog() { var scores = new List <Score>(); var unlocksToLog = UnlockedFeatures.Where(f => !IsLogged(f)); foreach (var feature in unlocksToLog) { var action = GetRelatedAction(feature); if (action.HasValue) { scores.Add(new Score(_earthwatcherId, action.Value.ToString(), ActionPoints.Points(action.Value), _earthwatcherPlayingRegion)); } } return(scores); }