public async Task <List <CObject> > GetNavigatorNodes_Children(string db, string ProjectUID, string layer, string lcid, string target, string viewstate, string parent = null) { var content = await communicationManager.GetNavigatorNodes_Children(m_Url, db, ProjectUID, target, lcid, layer, parent, viewstate, m_Session.Id, serverName); if (content == null) { return(null); } JArray jarray = JArray.Parse(content); List <CObject> result = new List <CObject>(); if (jarray == null) { return(result); } result = JsonConvert.DeserializeObject <List <CObject> >(jarray.ToString()); foreach (var o in result) { if (o.OverlayUID == null) { o.OverlayUID = layer; } if (o.ProjectUID == null) { o.ProjectUID = ProjectUID; } } return(result); }