Exemplo n.º 1
0
 public static User RegisterUser(UserProfileInfo userProfileInfo, UserPersonalInfo personalInfo, UserPasswordInfo userPasswordInfo)
 {
     return(new User(userProfileInfo, personalInfo, userPasswordInfo));
 }
Exemplo n.º 2
0
 private User(UserProfileInfo userProfileInfo, UserPersonalInfo personalInfo, UserPasswordInfo userPasswordInfo)
 {
     UserProfileInfo  = userProfileInfo;
     PersonalInfo     = personalInfo;
     UserPasswordInfo = userPasswordInfo;
 }