Write out the code needed to pass the unit tests (no UI)
This commit is contained in:
parent
96d130d0b5
commit
5ece8503ff
12 changed files with 3908 additions and 40 deletions
|
|
@ -361,8 +361,7 @@ public class SeriesService : ISeriesService
|
|||
var existingPeople = await unitOfWork.PersonRepository.GetPeopleByNames(normalizedNames);
|
||||
|
||||
// Use a dictionary for quick lookups
|
||||
var existingPeopleDictionary = existingPeople.DistinctBy(p => p.NormalizedName)
|
||||
.ToDictionary(p => p.NormalizedName, p => p);
|
||||
var existingPeopleDictionary = PersonHelper.ConstructNameAndAliasDictionary(existingPeople);
|
||||
|
||||
// List to track people that will be added to the metadata
|
||||
var peopleToAdd = new List<Person>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue