public void AskQuestion(IErpResult state)
        {
            Question question = new Question
            {
                Mode = this.Mode,
                PosedDateTime = DateTime.Now,
                UserId = this.ConversationUser.Id,
                ConversationId = this.ConversationId,
                State = state,
                QuestionText = state.QuestionText
            };

            this.QuestionManagerReference.AddQuestion(question);

            this.Say(state, null);
        }
Beispiel #2
0
 public void RemoveQuestion(Question question)
 {
     this.ActiveQuestions.Remove(question);
 }
Beispiel #3
0
 public void AddQuestion(Question question)
 {
     this.ActiveQuestions.Add(question);
 }