public IActionResult PostDetails(int id) { ForumPost post = new ForumPost(); post = forumDAO.GetPostById(id); post.Comments = forumDAO.GetAllCommentsByPost(post); return(View(post)); }