Exemple #1
0
        public void ChangeTableStatus(Table table)
        {
            int status;

            if (table.TableStatus == 3)
            {
                status = 1;
            }
            else
            {
                status = table.TableStatus + 1;
            }

            tableDAL.ChangeTableStatus(status, table);
        }