public async Task <QuestionnaireResponse> GetQuestionnaireAsync() { Question[] questions = await _questionnaireService.GetQuestionsAsync(); var result = new QuestionnaireResponse { Questionnaire = _mapper.Map <QuestionModel[]>(questions) }; return(result); }