예제 #1
0
        public JsonResult AllNotes()
        {
            List <Note> AllNotes = _noteFactory.FindAll();

            return(Json(AllNotes));
        }
예제 #2
0
        public JsonResult AllNotes()
        {
            List <Note> allNotes = _notes.FindAll();

            return(Json(allNotes));
        }