예제 #1
0
        private void ButtonEditQuestion_Click(object sender, RoutedEventArgs e)
        {
            var answer       = _textUtility.ConvertRichTextBoxToString(rtbAnswerBox);
            var editQuestion = new QuestionObject
            {
                Title = tbQuestionTitle.Text, Question = tblQuestionDetails.Text, Answer = answer
            };

            _jsonController.EditQuestion(editQuestion);
        }