public void OnGet() { Restaurants = restaurantData.GetAllByName(SearchTerm); }
public void OnGet() { Message = "Restaurants List"; Restaurants = _restaurantData.GetAllByName(SearchTerm); }