public ActionResult GetGridDataForParts(string id) { var result = _partService.GetChildPartList(id, false); ViewData["ParentId"] = id; return(Json(new { data = result })); }