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

            var model = manager.GetAll();

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

            manager.Save(note);

            var model = manager.GetAll();

            return PartialView("List", model);
        }