var newQuestions = questions.Select(q => new Question()
{
Order = q.Order,
QuestionTexts = q.QuestionTexts.Select(qt => new QuestionText()
{
Text = qt.Text,
LocaleCode = qt.LocaleCode,
QuestionId = "this needs to be the id of the new instance"
})
});
var newQuestions = questions.Select(q => new Question()
{
Order = q.Order,
QuestionTexts = q.QuestionTexts.Select(qt => new QuestionText()
{
Text = qt.Text,
LocaleCode = qt.LocaleCode,
QuestionId = "this needs to be the id of the new instance"
})
});