public UserName(EntUser id, string firstName, string lastName) { this.Id = id; this.FirstName = firstName; this.LastName = lastName; }
public UserEmail WithId(EntUser id) { return(new UserEmail(id: id, email: this.Email)); }
public UserName WithId(EntUser id) { return(new UserName(id: id, firstName: this.FirstName, lastName: this.LastName)); }
public UserEmail(EntUser id, string email) { this.Id = id; this.Email = email; }