public AddWindow()
        {
            InitializeComponent();

            ITableRepository repoTable = new TableRepository();
            var tableNames             = repoTable.GetTables();

            string[] tables = new string[tableNames.Length];
            int      i      = 0;

            foreach (var x in tableNames)
            {
                tables[i] = tableNames[i].TableID.ToString();
                i++;
            }
            tableSelect.ItemsSource = tables;
            IDishRepository repoDish = new DishRepository();

            string[] dishNames = repoDish.GetDishNames();
            dishSelect.ItemsSource = dishNames;
        }