public ActionResult NotificationContent() { int noti_id = int.Parse(Request.QueryString.Get("NOID")); Notice notice= new Notice(); List<int> id_list = new List<int>(); NoticeHandle handler = new NoticeHandle(); id_list = handler.getNoticeIdSet(); notice = handler.getNoticeByID(noti_id); ViewData["Current_Notice_id"] = noti_id; ViewData["notice"] = notice; ViewData["notice_id_list"] = id_list; int index = id_list.IndexOf(noti_id); return View(); }