Пример #1
0
        public bool AddTable(int tableNumber)
        {
            var existingTable = tableManager.GetTableByTableNumber(tableNumber);

            if (existingTable != null)
            {
                return(false);
            }
            tableManager.AddTable(tableNumber);
            return(true);
        }