public User(IDateTimeProvider dateTimeProvider, PersonalDetails personalDetails, PostalAddress postalAddress, Password password)
 {
     CreatedDate = dateTimeProvider.Now();
     LastModifiedDate = dateTimeProvider.Now();
     PersonalDetails = personalDetails.OrThrowIfMissing("personalDetails");
     PostalAddress = postalAddress.OrThrowIfMissing("postalAddress");
     Password = password.OrThrowIfMissing("password");
     Active = true;
 }
 public UserPostalAddressViewModel(PostalAddress address)
 {
     AddressLine1 = address.Line1;
     AddressLine2 = address.Line2;
     AddressLine3 = address.Line3;
     City = address.City;
     State = address.State;
     Postcode = address.Postcode;
     Country = address.Country;
 }