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