/// <summary> /// Resolves map names /// </summary> /// <param name="mapIds">Map Ids to resolve</param> /// <param name="differences">Differences to fill</param> private async Task ResolveMapNames(List <string> mapIds, List <CompareDifference> differences) { mapIds = mapIds.Distinct().ToList(); List <KartaMap> maps = await _mapDbAccess.ResolveMapNames(mapIds); Dictionary <string, string> mapLookup = maps.ToDictionary(i => i.Id, i => i.Name); FillObjectNames(differences, mapLookup, CompareDifferenceValue.ValueResolveType.ResolveMapName, "MapWasDeleted"); }