示例#1
0
文件: CRUD.cs 项目: smajko31/Zelp
        public static void UpdateRestaurant(RestaurantInfo r)
        {
            Storage storage = new Storage(new DBUtility());

            storage.EditRestaurant((Restaurant)r, r.id);
        }
示例#2
0
文件: CRUD.cs 项目: smajko31/Zelp
        public static void AddRestaurant(RestaurantInfo r)
        {
            Storage storage = new Storage(new DBUtility());

            storage.AddRestaurant((Restaurant)r);
        }