コード例 #1
0
        // GET: Sys_Notice
        public ActionResult Index()
        {
            Sys_NoticeDAC       dac = new Sys_NoticeDAC();
            List <Sys_NoticeVO> sys = dac.Sys_noticeAll();

            ViewBag.Labels = (from item in sys
                              select item.Title).ToList();
            return(View(dac.Sys_noticeAll()));
        }
コード例 #2
0
        /// <summary>
        /// 상단 메세지 상세목록
        /// </summary>
        /// <returns></returns>
        public ActionResult Message()
        {
            Sys_NoticeDAC dac = new Sys_NoticeDAC();

            return(PartialView(dac.Sys_noticeAll()));
        }