public static void UpdateRestaurant(RestaurantInfo r) { Storage storage = new Storage(new DBUtility()); storage.EditRestaurant((Restaurant)r, r.id); }
public static void AddRestaurant(RestaurantInfo r) { Storage storage = new Storage(new DBUtility()); storage.AddRestaurant((Restaurant)r); }