public ActionResult UpdateReply(int id, PostReply reply, Post post) { try { _replyService.UpdateReply(reply); return(RedirectToAction("GetPost", "Post", new { id = reply.Post.Id })); } catch { return(View()); } }
public void UpdateReply(PostReply reply) { _dao.UpdateReply(reply); }