constituent.ForEach(x => constituentList.Add(new UpdateConstituentModel
// {
// Id=x.Id,
// FirstName = x.FirstName,
// LastName = x.LastName,
// DisplayName = x.DisplayName,
// EmailAdd = x.Emails.Where(y => y.EmailPriority == EmailPriority.First).Select(y => y.EmailAddress).FirstOrDefault(),
// PrimaryAddress = primaryAddress
// }));
// {
// Id=x.Id,
// FirstName = x.FirstName,
// LastName = x.LastName,
// DisplayName = x.DisplayName,
// EmailAdd = x.Emails.Where(y => y.EmailPriority == EmailPriority.First).Select(y => y.EmailAddress).FirstOrDefault(),
// PrimaryAddress = primaryAddress
// }));
No comments:
Post a Comment