//public ActionResult About() //{ // ViewBag.Message = "Your application description page."; // return View(); //} //public ActionResult Contact() //{ // ViewBag.Message = "Your contact page."; // return View(); //} public JsonResult GetUserByParentID(int ParentID) { List <UserInfo> UserInfoList = new List <UserInfo>(); if (ParentID != 0) { UserInfoList = DbFunction.GetUserList(ParentID); } return(Json(UserInfoList)); }