SyntaxFix
Write A Post
Hire A Developer
Questions
var parent = context.Parent.FirstOrDefault(x => x.Id == modelParent.Id); if (parent != null) { parent.Childs = modelParent.Childs; }
source