public async Task <ActionResult> BizManager(string Query, string curPage) { ViewBag.LeftMenu = Global.BizMng; //var listScNtc = _scNtcService.GetNotices(SelectList, Query); var listScUsr = await _scUsrService.GetBizManagerByComNameAsync(Query); var usrViews = Mapper.Map <List <CompanyMyInfoViewModel> >(listScUsr); int pagingSize = int.Parse(ConfigurationManager.AppSettings["PagingSize"]); return(View(new StaticPagedList <CompanyMyInfoViewModel>(usrViews.ToPagedList(int.Parse(curPage), pagingSize), int.Parse(curPage), pagingSize, usrViews.Count))); }