private User(string first_name, string last_name, string email) { Id = new UserID(Guid.NewGuid()); FirstName = first_name; LastName = last_name; Email = email; // register here domain event }
private User() { Id = new UserID(Guid.NewGuid()); }
private User(string first_name, string last_name, string email) { Id = new UserID(Guid.NewGuid()); FirstName = first_name; LastName = last_name; Email = email; // register here domain event }
private User() { Id = new UserID(Guid.NewGuid()); }