public void ChangeNote(string content) { Note = new ItineraryNote(content); AddDomainEvent(new ItineraryNoteChanged(Id)); }
//ctor public Itinerary(string content) { Id = Guid.NewGuid(); Note = new ItineraryNote(content); }