public ActionResult UpdateNote(string input, string noteId) { DashboardModel model = new DashboardModel(); input = input.Replace("'", "''"); string results = "" + model.UpdatePersonalNote(input, Int32.Parse(noteId)); return(Json(new { success = true, message = noteId })); }