public async Task <ActionResult> ExpertManager() { ViewBag.LeftMenu = Global.ExpertMng; //사업관리자 DropDown List Data var bizMngList = await _scUsrService.GetBizManagerAsync(); var bizMngDropDown = Mapper.Map <List <BizMngDropDownModel> >(bizMngList); BizMngDropDownModel title = new BizMngDropDownModel(); title.CompSn = 0; title.CompNm = "사업관리자 선택"; bizMngDropDown.Insert(0, title); SelectList bizList = new SelectList(bizMngDropDown, "CompSn", "CompNm"); ViewBag.SelectBizList = bizList; //전문가 분야 DropDown List Data var expertPart = new List <SelectListItem>() { new SelectListItem { Value = "", Text = "전문분야", Selected = true }, new SelectListItem { Value = "T", Text = "세무" }, new SelectListItem { Value = "L", Text = "법무" }, new SelectListItem { Value = "W", Text = "노무" }, new SelectListItem { Value = "P", Text = "특허" }, new SelectListItem { Value = "M", Text = "마케팅" } }; SelectList expertPartList = new SelectList(expertPart, "Value", "Text"); ViewBag.SelectBizPartList = expertPartList; //전문가 리스트 조회 var listScUsr = await _scUsrService.GetExpertManagerAsync(); var usrViews = Mapper.Map <List <JoinExpertViewModel> >(listScUsr); int pagingSize = int.Parse(ConfigurationManager.AppSettings["PagingSize"]); return(View(new StaticPagedList <JoinExpertViewModel>(usrViews.ToPagedList(1, pagingSize), 1, pagingSize, usrViews.Count))); }
public async Task <ActionResult> BasicSurveyReport(string curPage) { ViewBag.LeftMenu = Global.Report; var bizMngList = await scUsrService.GetBizManagerAsync(); var bizMngDropDown = Mapper.Map <List <BizMngDropDownModel> >(bizMngList); BizMngDropDownModel title = new BizMngDropDownModel(); title.CompSn = 0; title.CompNm = "사업관리기관 선택"; bizMngDropDown.Insert(0, title); SelectList bizList = new SelectList(bizMngDropDown, "CompSn", "CompNm"); //사업관리기관 DownDown List Data ViewBag.SelectBizWorkMngrList = bizList; ViewBag.SelectBizWorkList = ReportHelper.MakeBizWorkList(null); return(View()); }
public async Task <ActionResult> BizManager() { ViewBag.LeftMenu = Global.BizMng; //var listScNtc = _scNtcService.GetNotices(SelectList, Query); var listScUsr = await _scUsrService.GetBizManagerAsync(); var usrViews = Mapper.Map <List <CompanyMyInfoViewModel> >(listScUsr); int pagingSize = int.Parse(ConfigurationManager.AppSettings["PagingSize"]); return(View(new StaticPagedList <CompanyMyInfoViewModel>(usrViews.ToPagedList(1, pagingSize), 1, pagingSize, usrViews.Count))); }
public async Task <ActionResult> CompanyJoin() { //사업관리자 DropDown List Data var bizMngList = await _scUsrService.GetBizManagerAsync(); var bizMngDropDown = Mapper.Map <List <BizMngDropDownModel> >(bizMngList); BizMngDropDownModel title = new BizMngDropDownModel(); title.CompSn = 0; title.CompNm = "사업관리자 선택"; bizMngDropDown.Insert(0, title); SelectList bizManagerList = new SelectList(bizMngDropDown, "CompSn", "CompNm"); ViewBag.SelectBizMngList = bizManagerList; return(View()); }