示例#1
0
        public async Task <IActionResult> DeleteComment(string commentId, string postId)
        {
            blogService.DeleteComment(commentId);

            return(RedirectToAction("EditPost", new { postId = postId }));
        }