Example #1
0
 public List <Restaurant.Restaurant> GetRestaurants()
 {
     return(RestaurantDatabaseHandler.GetRestaurants());
 }
Example #2
0
 public void UpdateRestaurant(Restaurant.Restaurant restaurant)
 {
     RestaurantDatabaseHandler.UpdateRestaurant(restaurant);
 }
Example #3
0
 public Restaurant.Restaurant GetRestaurant(int id, string name = "")
 {
     return(RestaurantDatabaseHandler.GetRestaurant(id, name));
 }
Example #4
0
 public void InsertRestaurant(Restaurant.Restaurant restaurant)
 {
     RestaurantDatabaseHandler.InsertRestaurant(restaurant);
 }