private void updateEntities(/*Dictionary<string, int>*/ SaveResponseEntry[] dictionary) { foreach (var item in dictionary) { _types.Single(x => x.Name == item.key).Id = item.value; } }
private void updateEntities(SaveResponseEntry[] dictionary) { foreach (var item in dictionary) { _materials.Single(x => x.Name == item.key).Id = item.value; } }