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