Exemplo n.º 1
0
        public ActionResult Update([FromBody] ArticleComment entity)
        {
            _articlecommentService.UpdateArticleComment(entity);

            var user = _userService.GetUserById(1);

            _userActivityService.InsertActivity(user, "UpdateComment",
                                                string.Format("Yorum Güncellendi", entity.Id), entity);

            return(Ok(new { ArticleComment = entity }));
        }