public async Task <IActionResult> Update([FromBody] CreatePollAnswer model,
                                                 [FromRoute] int id)
        {
            if (!ModelState.IsValid)
            {
                return(UnprocessableEntity(ModelState));
            }

            var dto = await _pollAnswerService.GetById(id);

            if (!dto.Succeeded)
            {
                return(UnprocessableEntity());
            }

            _mapper.Map(model, dto.Result);
            var updated = await _pollAnswerService.UpdateAsync(dto.Result, UserId);

            if (!updated.Succeeded)
            {
                return(UnprocessableEntity());
            }

            return(Ok(updated.Result));
        }