public IActionResult SearchCustomer(Customer customer)
 {
     if (DatabaseControl.CustomerExists(customer, _context))
     {
         List <Customer>    customers = DatabaseControl.CustomersWithName(customer, _context);
         List <UserAccount> accounts  = DatabaseControl.Accounts(customers, _context);
         return(View("CustomersWithName", accounts));
     }
     else
     {
         return(View("CustomerNotFound"));
     }
 }