示例#1
0
        public async Task <IActionResult> AddComment(CommentAddModel model)
        {
            await _blogApiService.AddCommentAsync(model);

            return(RedirectToAction("PostDetail", new { id = model.BlogId }));
        }