// change the table status to reserved in the database private void btn_reserve_Click(object sender, EventArgs e) { table_Service.updateTable(int.Parse(lbl_TableNumber.Text), 3); Close(); }
/////////////////////// change the table status to reserved in the database private void btn_reserve_Click(object sender, EventArgs e) { table.Status = Enum_TableStatus.Reserved; table_Service.updateTable(table); Close(); }