public ActionResult DisplayAllName()
        {
            DisplayAll           da     = new DisplayAll();
            var                  temp   = da.RestaurantsByName();
            List <WebRestaurant> listWR = new List <WebRestaurant>();

            foreach (var item in temp)
            {
                listWR.Add(WebDataConversion.RestaurantToWeb(item));
            }
            return(View(listWR));
        }
        public ActionResult Search(string SearchRest)
        {
            SearchRestaurants sr = new SearchRestaurants();

            var        temp        = sr.FindRestaurants(SearchRest);
            var        WebRestList = new List <WebRestaurant>();
            DisplayAll da          = new DisplayAll();

            temp = da.RestaurantsByName(temp);
            foreach (var item in temp)
            {
                WebRestList.Add(WebDataConversion.RestaurantToWeb(item));
            }
            if (WebRestList != null)
            {
                return(View(WebRestList));
            }
            else
            {
                return(new HttpNotFoundResult());
            }
        }