public static User RegisterUser(UserProfileInfo userProfileInfo, UserPersonalInfo personalInfo, UserPasswordInfo userPasswordInfo)
 {
     return(new User(userProfileInfo, personalInfo, userPasswordInfo));
 }
 private User(UserProfileInfo userProfileInfo, UserPersonalInfo personalInfo, UserPasswordInfo userPasswordInfo)
 {
     UserProfileInfo  = userProfileInfo;
     PersonalInfo     = personalInfo;
     UserPasswordInfo = userPasswordInfo;
 }