コード例 #1
0
        public async Task AddAnswersToQuestionAsync(string questionId, [FromBody] string[] answers)
        {
            var question = await _questionnaireService.GetQuestionAsync(questionId);

            if (question != null)
            {
                await _questionnaireService.AddAnswersToQuestionAsync(questionId, answers);
            }
        }