public void EditTable(Table currentTable) { try { tab_DAO.EditTable(currentTable); } catch (Exception e) { Console.WriteLine("Could not edit table " + e.Message); throw; } }
public void EditBill(Bill bill, Order order) { try { bill_DAO.DB_EditBill(bill); //updating order and table status order.Completed = true; order.Table.TableState = TableState.available; orderAndOrderItem_DAO.DB_EditOrder(order); table_DAO.EditTable(order.Table); } catch (Exception e) { Console.WriteLine(e.Message); throw; } }
public static void EditTable(Table_DTO table, string IdTable) { Table_DAO.EditTable(table, IdTable); }