示例#1
0
        public ActionResult ApplicationEdit()
        {
            int id          = CECRequest.GetQueryInt("id", 0);
            var companyInfo = MemberService.GetCompanyInfoByUserId(PlantEngContext.Current.UserId);
            var model       = CompanyNewsService.Get(id, companyInfo.CompanyId);

            return(View(model));
        }
示例#2
0
        public ActionResult NewsDetail()
        {
            int newsId      = CECRequest.GetQueryInt("id", 0);
            var companyInfo = ViewBag.CompanyInfo;
            var newsInfo    = CompanyNewsService.Get(newsId, companyInfo.CompanyId);

            return(View(newsInfo));
        }