/// <summary> /// 取得個人資料列表 /// </summary> /// <returns></returns> public ActionResult GetAllPersonInfo() { _faceService = new FaceDP(Server.MapPath("~")); DataTable dt = _faceService.GetAllPersonInDB(); string json = JsonConvert.SerializeObject(dt); return(Content(json, "application/json")); }