Esempio n. 1
0
        public JsonResult AllNotes()
        {
            List <Note> AllNotes = _noteFactory.FindAll();

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

            return(Json(allNotes));
        }