예제 #1
0
        public ActionResult List()
        {
            var manager = new NoteManager();

            var model = manager.GetAll();

            return PartialView(model);
        }
예제 #2
0
        public ActionResult Save(Note note)
        {
            var manager = new NoteManager();

            manager.Save(note);

            var model = manager.GetAll();

            return PartialView("List", model);
        }