private void Customer_Book_Event_Load(object sender, EventArgs e)
        {
            VenueServices catService    = new VenueServices();
            var           list          = catService.GetAllVenues();
            List <string> categoryNames = new List <string>();

            foreach (var item in list)
            {
                categoryNames.Add(item.Name);
            }
            comboBox2.DataSource = categoryNames;

            EquipmentServices eService = new EquipmentServices();
            var           list1        = eService.GetAllFood();
            List <string> foodName     = new List <string>();

            foreach (var item in list1)
            {
                foodName.Add(item.Name);
            }
            checkedListBox1.DataSource = foodName;

            EquipmentService eqService = new EquipmentService();
            var           list2        = eqService.GetAllEquipment();
            List <string> eqName       = new List <string>();

            foreach (var item in list2)
            {
                eqName.Add(item.Name);
            }
            checkedListBox2.DataSource = eqName;
        }
        void UpdateGridView()
        {
            EquipmentServices fService = new EquipmentServices();

            dataGridView2.DataSource = fService.GetAllFood();
        }
        private void Food_management_Load(object sender, EventArgs e)
        {
            EquipmentServices fService = new EquipmentServices();

            dataGridView2.DataSource = fService.GetAllFood();
        }