示例#1
0
        public ActionResult ChangeNote(int id, string isShortcut)
        {
            ShortcutManager.ChangeShortcut(id, isShortcut, 0);

            return(RedirectToAction("../Note"));
        }
示例#2
0
        public ActionResult ChangeBook(int id, string isShortcut)
        {
            ShortcutManager.ChangeShortcut(id, isShortcut, 1);

            return(RedirectToAction("../NoteBook/List/" + id));
        }