public ActionResult Update(int noteId, String title, String contents, string noteBookId) { NoteDAO.Update(noteId, title, contents, noteBookId); return(RedirectToAction("Detail", new { id = noteId })); }