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 UserPersonalDetailsViewModel(PersonalDetails personalDetails)
 {
     Title = personalDetails.Title;
     FirstName = personalDetails.FirstName;
     LastName = personalDetails.LastName;
     Email = personalDetails.Email;
     Telephone = personalDetails.Telephone;
     Fax = personalDetails.Fax;
 }