private void LoadFoundHomes()
        {
            List <Home> listResults = HomeSearchHelper.SearchHomeItems(_formattedSearchTerms);

            FoundHomes = new List <HomeDisplayModel>();

            foreach (Home home in listResults)
            {
                FoundHomes.Add(new HomeDisplayModel()
                {
                    HomeID  = home.HomeID,
                    Address = home.Address,
                    City    = home.City,
                    State   = home.State,
                    Zip     = home.Zip
                });
            }
        }
        private void GetDetailsButton_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                if (DetailsWindowIsOpen)
                {
                    HomeDetailsTextbox.Text      = string.Empty;
                    DetailsWindowIsOpen          = false;
                    GetDetailsButton.Content     = "Select a Home then click here to see details.";
                    HomeDetailsBorder.Visibility = Visibility.Collapsed;
                    return;
                }

                var selectedHome  = FoundHomesDataGrid.SelectedItem as HomeDisplayModel;
                var outputMessage = new StringBuilder();

                if (selectedHome != null)
                {
                    outputMessage.Append(HomeSearchHelper.GetHomeItemDetails(selectedHome));
                }
                else
                {
                    outputMessage.AppendLine("Select an item first.");
                }

                HomeDetailsTextbox.Text      = outputMessage.ToString();
                DetailsWindowIsOpen          = true;
                GetDetailsButton.Content     = "Click here to close the details bubble.";
                HomeDetailsBorder.Visibility = Visibility.Visible;
            }
            catch
            {
                DetailsWindowIsOpen = false;
                MessageBox.Show("Something went wrong. Call the developer.");
            }
        }