/// <summary>
        /// Updates the selection answer set.
        /// </summary>
        /// <param name="request">The request.</param>
        /// <returns></returns>
        public Task UpdateSelectionAnswerSet(UpdateSelectionAnswerSetViewModel request)
        {
            var token = authDataStorage.GetToken();
            var model = Mapper.Map <UpdateSelectionAnswerSetViewModel, UpdateSelectionAnswerSetRequestDto>(request);

            model.SelectionAnswerChoices = new List <UpdateSelectionAnswerChoiceRequestDto>();

            foreach (var answerChoice in request.SelectionAnswerChoices)
            {
                var answerChoiceDto = Mapper.Map <UpdateSelectionAnswerChoiceRequestDto>(answerChoice);
                answerChoiceDto.AnswerString = this.InitUpdateLocalizedStringRequest(answerChoice.AnswerString);

                model.SelectionAnswerChoices.Add(answerChoiceDto);
            }

            return(healthLibraryService.UpdateSelectionAnswerSet(model, CustomerContext.Current.Customer.Id, token));
        }
        public async Task <ActionResult> UpdateSelectionAnswerSet(UpdateSelectionAnswerSetViewModel request)
        {
            await careBuilderManager.UpdateSelectionAnswerSet(request);

            return(Json(string.Empty));
        }