Exemplo n.º 1
0
 private static void CreateNewSources(Candidate destination, CandidateDTO source)
 {
     source.Sources.Where(x => x.IsNew()).ToList().ForEach(newSource =>
     {
         var toDomain = new CandidateSource();
         toDomain.Update(newSource);
         destination.Sources.Add(toDomain);
     });
 }