/// <summary>
        /// Calls the listed endpoint on this controller.
        /// </summary>
        public static Address UpdateAddress(SessionAuthUser authUser, Address address, string name,
      string addressLine1, string addressLine2, string city, string zip, RecordVisibility visibility)
        {
            AddressData template = CallAddressController.GetEditAddressTemplate(authUser, address);
              template.Name = String.Empty;
              template = CallAddressController.EditAddressBadData(authUser, template);

              template.Name = name;
              template.AddressLine1 = addressLine1;
              template.AddressLine2 = addressLine2;
              template.City = city;
              template.ZipCode = zip;
              template.Visibility = visibility;

              return CallAddressController.EditAddress(authUser, template);
        }
        /// <summary>
        /// Calls the listed endpoint on this controller.
        /// </summary>
        public static AddressData GetEditAddressTemplate(SessionAuthUser authUser, Address address)
        {
            AddressController controller = BaseCallController.GetController<AddressController>(authUser);

              ActionResult result = controller.EditAddress(address.ID);
              Assert.IsNotNull(result);
              ViewResult viewResult = result as ViewResult;
              AddressData model = AssertModel<AddressData>(viewResult);
              Assert.AreEqual(address.ID, model.ID);
              return model;
        }