/// <summary>
        /// Creator: Austin Gee
        /// Created: 4/11/2020
        /// Approver: Michael Thompson
        /// returns a list view of applications for a particular customer
        /// </summary>
        /// <remarks>
        /// Updater: NA
        /// Updated: NA
        /// Update: NA
        /// </remarks>
        /// <param name="customerEmail"></param>
        /// <returns></returns>
        public ActionResult CustomerApplicationList(string customerEmail)
        {
            var customer     = _adoptionCustomerManager.RetrieveAdoptionCustomerByEmail(customerEmail);
            var applications = _adoptionApplicationManager.RetrieveAdoptionApplicationsByEmailAndActive(customerEmail);

            ViewBag.Title = "Animals you have applied to adopt";


            return(View(applications));
        }
 /// <summary>
 /// NAME: Austin Gee
 /// DATE: 3/18/2020
 /// CHECKED BY: Michael Thompson
 ///
 /// allows user to schedule a new appointment
 /// </summary>
 /// <remarks>
 /// UPDATED BY: NA
 /// UPDATE DATE: NA
 /// WHAT WAS CHANGED: NA
 ///
 /// </remarks>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnScheduleAppointment_Click(object sender, RoutedEventArgs e)
 {
     if (dgCustomers.SelectedItem != null)
     {
         AdoptionCustomerVM adoptionCustomer = (AdoptionCustomerVM)dgCustomers.SelectedItem;
         _adoptionCustomerVM     = _adoptionCustomerManager.RetrieveAdoptionCustomerByEmail(adoptionCustomer.Email);
         lblFirstName.Content    = _adoptionCustomerVM.FirstName;
         lblLastName.Content     = _adoptionCustomerVM.LastName;
         lblEmail.Content        = _adoptionCustomerVM.Email;
         txtAppointmentTime.Text = "00h: 00m am/pm";
         showAppointmentScheduling();
         //dgLocations.Visibility = Visibility.Visible;
         grdChooseLocation.Visibility = Visibility.Visible;
         btnAddLocation.Visibility    = Visibility.Visible;
         btnLocationSearch.Visibility = Visibility.Visible;
         btnSaveLocation.Visibility   = Visibility.Hidden;
         txtLocationSearch.Visibility = Visibility.Visible;
     }
     else
     {
         WPFErrorHandler.ErrorMessage("Please choose a customer from the list");
     }
 }