public JsonResult GetLocationByParentID(string ParentID) { List <ZoneInfo> locationList = new List <ZoneInfo>(); if (ParentID != "") { locationList = DbFunction.GetLocationList(ParentID); } return(Json(locationList)); }