public User(PartyId id, string fName, string lname, string email, string password) : base(id, fName + " " + lname) { this.fName = fName; this.lName = lname; this.email = email; this.password = password; }
public Party(PartyId partyId, string name) { if (partyId == null) { throw new ArgumentNullException("partyId"); } id = partyId; this.name = name; }