//response to http get requests public void OnGet() //if searchTerm is Int then application will throw error but having string is like this parameter is optional { logger.LogError("Executing List Model"); //message = "hello lockdown!"; message = _config["Message"]; //Resturants = resturantData.GetAll(); //HttpContext.Request.QueryString: can be used to find search term Resturants = resturantData.GetByName(SearchTerm); }