public IActionResult Comentar(PostViewModel model) { var idUsuario = User.Identity.GetUserId(); model.ApplicationUserId = idUsuario; var newModel = Mapper.Map <Post>(model); try { _feedService.ComentarPost(newModel); }catch (Exception e) { throw new Exception(e.Message); } return(AtualizarComentario(newModel.PostId.ToString())); }