public ActionResult AddressTypePartial(string id)
 {
     if (!String.IsNullOrWhiteSpace(id))
     {
         bool isGuid = Guid.TryParse(id, out Guid customerId);
         if (isGuid && customerId != Guid.Empty)
         {
             var repo  = new MetadataRepository();
             var model = new AddressTypeViewModel()
             {
                 CustomerID   = id,
                 AddressTypes = repo.GetAddressTypes()
             };
             return(PartialView("AddressTypePartial", model));
         }
     }
     return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
 }