// GET: Restaurants
        public ActionResult Index()
        {
            List <PLC.Restaurant> restaurants = new List <PLC.Restaurant>();

            try
            {
                if (func == null)
                {
                    func = new PLC.Functionality();
                }

                // Grab all of the restaurants from the database
                restaurants = func.AllRestaurants();
                return(View(restaurants));
            }
            catch (Exception ex)
            {
                logger.Error(ex.Message);
                return(View("Error", ex));
            }
        }
 // Returns a list of all of the restaurants in the specified order
 public List <Restaurant> GetAll(string order = "")
 {
     return(func.AllRestaurants(order));
 }