public void OnGet()
 {
     Notes = noteData.GetAll();
 }
Exemple #2
0
 public Result GetAll()
 {
     return(new Result <IEnumerable <Note> >(data.GetAll()));
 }
Exemple #3
0
 public IActionResult OnGet()
 {
     Notes = _noteData.GetAll();
     return(Page());
 }