public JsonResult AllNotes() { List <Note> AllNotes = _noteFactory.FindAll(); return(Json(AllNotes)); }
public JsonResult AllNotes() { List <Note> allNotes = _notes.FindAll(); return(Json(allNotes)); }