/// <summary>
 /// 编辑
 /// </summary>
 /// <param name="_lineVM"></param>
 /// <returns></returns>
 public ActionResult Edit(BaseLineVM _lineVM)
 {
     _lineVM.Line      = _baseLineService.GetById(_lineVM.Id) ?? new BaseLine();
     _lineVM.Provinces = _baseAreaService.GetAll().Where(p => p.Grade == 1).ToList();
     _lineVM.City      = _baseAreaService.GetById(_lineVM.Line.BaseAreaId) ?? new BaseArea();
     _lineVM.Citys     = _baseAreaService.GetAll().Where(p => p.Grade == 2).ToList();
     _lineVM.ImgInfo   = _lineVM.Line.BaseImage ?? new BaseImage();
     return(View(_lineVM));
 }
        /// <summary>
        /// 分页
        /// </summary>
        /// <param name="_dictionariesVM"></param>
        /// <param name="pn"></param>
        /// <returns></returns>
        public ActionResult List(BaseLineVM vm, int pn = 1)
        {
            int totalCount,
                pageIndex = pn,
                pageSize  = PagingConfig.PAGE_SIZE;
            var list      = _baseLineService.GetManagerList(vm.QueryLineName, vm.QueryCityName, pageIndex, pageSize, out totalCount);
            var paging    = new Paging <BaseLine>()
            {
                Items = list,
                Size  = PagingConfig.PAGE_SIZE,
                Total = totalCount,
                Index = pn,
            };

            vm.Paging = paging;
            return(View(vm));
        }