Beispiel #1
0
        public User Create(string email, string nif)
        {
            UserEmail userEmail = new UserEmail(email);
            UserNIF   userNIF   = new UserNIF(nif);

            return(User.SignUp(userEmail, userNIF));
        }
 public static User SignUp(UserEmail email, UserNIF nif)
 {
     return(new User(email, nif));
 }
 public User(UserEmail email, UserNIF nif)
 {
     this.email = email;
     this.nif   = nif;
 }