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