existingCostShare.Costshare = existingCostShare.Costshare.Where(c => result.Personnel.All(p => c.BaseCostShareProjectPerson?.Hrn == p.BasePerson?.Hrn || c.BaseCostShareTbdPerson?.Hrn == p.BasePersonnelTbdRole?.Hrn));
boolean
c.BaseCostShareProjectPerson?.Hrn == p.BasePerson?.Hrn
null
undefined
defined
or
null == null
true
null == (not null)
false
p.BasePerson?.Hrn
c.BaseCostShareProjectPerson?.Hrn
p.BasePersonnelTbdRole?.Hrn
c.BaseCostShareTbdPerson?.Hrn
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)