public User(Guid id, ShortName name, Email email) { Id = id; Name = name; Email = email; Roles = new RoleCollection(); }
public User(ShortName name, Email email, Password password) { Id = Guid.NewGuid(); Name = name; Email = email; Password = password; Roles = new RoleCollection(); }