public ActionResult List() { var manager = new NoteManager(); var model = manager.GetAll(); return PartialView(model); }
public ActionResult Save(Note note) { var manager = new NoteManager(); manager.Save(note); var model = manager.GetAll(); return PartialView("List", model); }