internal Question(User askedBy, string content) { var id = Guid.NewGuid(); var questionAsked = new QuestionAsked(id, askedBy.UserName, content); Apply(questionAsked); Append(questionAsked); }
private void Apply(QuestionAsked questionAsked) { Id = questionAsked.Id; AskedByUserName = questionAsked.AskedBy; Content = questionAsked.Content; }