示例#1
0
        public ActionResult MessageDetail(int id, string read)
        {
            ViewBag.MenuGroup = "MI";
            ViewBag.MenuTitle = "留言详情";
            if (id <= 0)
            {
                return(null);
            }
            if (!string.IsNullOrEmpty(read))
            {
                BLLMEnterpriseMessage.UpdateMEnterriseMessage(id, read == "是" ? true : false);
                ViewBag.result = "success";
            }
            MEnterpriseMessage message = BLLMEnterpriseMessage.GetMEnterriseMessage(id);

            return(View(message));
        }
示例#2
0
        public ActionResult CasesDetail(int id, string show)
        {
            ViewBag.MenuGroup = "AC";
            ViewBag.MenuTitle = "案例详情";
            if (id <= 0)
            {
                return(null);
            }
            if (!string.IsNullOrEmpty(show))
            {
                BLLMEnterpriseMessage.UpdateMEnterriseMessage(id, show == "是" ? true : false);
                ViewBag.result = "success";
            }
            MEnterpriseCases cases = BLLMEnterpriseCases.GetMEnterpriseCases(id);

            return(View(cases));
        }