public ActionResult AddReply(Reply reply, int PostID, int CommentID) { if (ModelState.IsValid) { string BlogPostJsonPath = Server.MapPath("~/App_Data/Blog-Posts.json"); reply.date = DateTime.Now; _blogPostService.AddReply(reply, PostID, CommentID, BlogPostJsonPath); } return(RedirectToAction("Post", new { id = PostID })); }