/// <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: 2/6/2020
 /// CHECKED BY: Mohamed Elamin, 02/07/2020
 ///
 /// This helper method populates the Customer data grid with dat when the form is loaded.
 /// </summary>
 /// <remarks>
 /// UPDATED BY: NA
 /// UPDATE DATE: NA
 /// WHAT WAS CHANGED: NA
 ///
 /// </remarks>
 private void populateCustomerDataGrid()
 {
     try
     {
         var allCustomers      = _adoptionCustomerManager.RetrieveAdoptionCustomersByActive(true);
         var adoptionCustomers = new List <AdoptionCustomerVM>();
         foreach (var c in allCustomers)
         {
             if (_adoptionApplicationManager.RetrieveAdoptionApplicationsByEmailAndActive(c.Email, true).Count > 0)
             {
                 adoptionCustomers.Add(c);
             }
         }
         dgCustomers.ItemsSource = adoptionCustomers;
     }
     catch (Exception)
     {
     }
 }