private void CustomerDetail_Load(object sender, EventArgs e)
        {
            cityCB.DataSource    = CityLogic.GetAllCities();
            cityCB.DisplayMember = "Name";
            foreach (City item in cityCB.Items)
            {
                if (item.NameZip == _customer.City.NameZip)
                {
                    cityCB.SelectedItem = item;
                    break;
                }
            }

            cityCB.SelectedItem = _customer.City;

            nameTBox.Text            = _customer.Name;
            surenameTBox.Text        = _customer.Surename;
            perNumTBox.Text          = _customer.PersonalNumber;
            phoneTBox.Text           = _customer.Phone;
            emailTBox.Text           = _customer.Email;
            streetTBox.Text          = _customer.Street;
            houseNumTBox.Text        = _customer.HouseNumber;
            regDate.Text             = _customer.RegistrationDate.ToShortDateString();
            distilledVolumeTBox.Text = _customer.DistilledVolume.ToString("0.00");

            customerReservationList.DataSource = ReservationLogic.PendingReservations(_customer.Id);
        }
        public IActionResult ReservationList()
        {
            ShowLoggedUser();
            int customerId = _userSession.GetLoggedUser(HttpContext).User.Id;

            ViewData["PendingReservations"]  = ReservationLogic.PendingReservations(customerId);
            ViewData["FinishedReservations"] = ReservationLogic.FinishedReservations(customerId);


            return(View());
        }