For IEnumerable collection, need to use ToList first, so you can get same list during the iteration.
foreach (var qs in one.QuestionSets.ToList()) { dbc.Questions.DeleteObject(qs.Question); }
foreach (var qs in one.QuestionSets.ToList()) { dbc.Questions.DeleteObject(qs.Question); }
var initQuestions = '[{ "Title": "1112", "QuestionType": { "ID": 2, "Value": "1", "Text": "Text", "Selected": true}}]'; var json = $.parseJSON( initQuestions );