/// <summary> /// 获取当前用户可以操作的所有指定类型的路线 /// </summary> /// <param name="RegionType">路线类型</param> /// <returns>Tuple(RegionID, RegionName)[]</returns> public ActionResult GetAllLines(int LineType) { var regions = TerminalSettingsBLL.GetAllLines(base.CurrentUserID, LineType); return(Json(new SelectResult <Tuple <long, string>[]>() { DataResult = regions }, JsonRequestBehavior.AllowGet)); }