public ActionResult edit(int id) { Provider db = new Provider(); Note m = db.getNoteById(id); return View(m); }