Exemple #1
0
 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());
     }
 }
Exemple #2
0
 public void UpdateReply(PostReply reply)
 {
     _dao.UpdateReply(reply);
 }