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)); }
public ActionResult NewsDetail() { int newsId = CECRequest.GetQueryInt("id", 0); var companyInfo = ViewBag.CompanyInfo; var newsInfo = CompanyNewsService.Get(newsId, companyInfo.CompanyId); return(View(newsInfo)); }