public IActionResult Search() { var model = new SearchViewModel(); model.People = _peopleData.GetAll(); return(View(model)); }
public void OnGet() { People = peopleData.GetAll(); }
public IActionResult Search() { var model = new SearchViewModel(); model.People = _peopleData.GetAll(); return(View(model)); }
public void OnGet() { People = peopleData.GetAll(); }