Ready to test
This commit is contained in:
		| @ -90,11 +90,11 @@ public class G2_Identify : Shared.Models.Properties.IIdentify, IIdentify | ||||
|         json = File.ReadAllText(named.FullName); | ||||
|         Person[] people = a2People.GetPeople(configuration); | ||||
|         Dictionary<string, string[]> resultKeyValuePairs = new(); | ||||
|         string[] peopleBirthdates = (from l in people select Shared.Models.Stateless.Methods.IPersonBirthday.GetFormated(l.Birthday)).ToArray(); | ||||
|         string[] peopleBirthDates = (from l in people select Shared.Models.Stateless.Methods.IPersonBirthday.GetFormatted(l.Birthday)).ToArray(); | ||||
|         Dictionary<string, string[]> sourceKeyValuePairs = JsonSerializer.Deserialize<Dictionary<string, string[]>>(json); | ||||
|         foreach (KeyValuePair<string, string[]> keyValuePair in sourceKeyValuePairs) | ||||
|         { | ||||
|             if (!(from l in keyValuePair.Value where peopleBirthdates.Contains(l) select false).Any()) | ||||
|             if (!(from l in keyValuePair.Value where peopleBirthDates.Contains(l) select false).Any()) | ||||
|                 continue; | ||||
|             resultKeyValuePairs.Add(keyValuePair.Key, keyValuePair.Value); | ||||
|         } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user