Пример #1
0
        /// <summary>
        /// 得到下级行政区划(带请选择)
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        public ActionResult GetSearchNextLevelRegionList(RegionSearchDTO dto)
        {
            var result = AreaRegionProvider.GetNextLevelRegionList(dto);

            result.Insert(0, new RegionResultDTO {
                RegionID = -1, RegionName = "请选择"
            });
            return(Json(result, JsonRequestBehavior.AllowGet));
        }
Пример #2
0
        /// <summary>
        /// 得到下级行政区划
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        public ActionResult GetNextLevelRegionList(RegionSearchDTO dto)
        {
            var result = AreaRegionProvider.GetNextLevelRegionList(dto);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }