public IActionResult OnGet(int id)
 {
     resturant = resturantService.SearchById(id);
     if (resturant.Equals(null))
     {
         return(RedirectToPage("./NotFound"));
     }
     return(Page());
 }