private List<int?> GetPresentationIdWithSameLengthAsContent()
{
var difference = Content.Count - Presentation.Count;
if (difference < 0)
throw new Exception("There are more Presentation elements than Content elements.");
var entityIds = ListWithNulls(cPresentation); // Presentation.Select(p => p?.EntityId).ToList();
// extend as necessary
if (difference != 0)
entityIds.AddRange(Enumerable.Repeat(new int?(), difference));
return entityIds; // SaveChangedLists(PrepareSavePackage(cPresentation, entityIds));
}