public ActionResult CommentDelete(Int64 idx, int boardidx) { if (!SessionCheck(Define.Session.SESSION_CHECK)) { LogWriter.Instance().LogWrite("/Board/List 에서 세션 만료로 에러가 발생합니다."); return(ErrorPage("/Home/Error")); } if (!CheckAuth()) { LogWriter.Instance().LogWrite(UserSession.UserId, "/Board/CommentApply - Error"); return(base.Logout()); } commentDao.DeleteByIdx(idx); return(Redirect("/Board/View?idx=" + boardidx)); }