public async Task <string> Update(UpdateCommentView model)
        {
            Comment comment = _mapper.Map <Comment>(model);
            await _commentRepository.Update(comment);

            return(comment.PostId);
        }
        public async Task <ActionResult> Update(UpdateCommentView model)
        {
            var newPost = await _service.Update(model);

            return(LocalRedirect($"~/Comment/Index/{model.PostId}"));
        }