public IActionResult Edit(int id) { var reply = _replyService.GetById(id); var model = new ReplyEditModel { Id = reply.Id, ReplyContent = reply.Content }; return(View(model)); }
public static ReplyInfo GetReply(int replyid) { IReply dal = Factory <IReply> .Create("Reply"); return(dal.GetById(replyid)); }