常用方法
常用方法
常用方法
常用方法
public ActionResult EditComment(int blogId, int id, Comment comment) { if (!bprepository.IsLocked(id)) { bprepository.EditComment(comment, id, User); TempData["message"] = "Kommentar endret"; } return(RedirectToAction("BlogPost", new { @blogId = blogId, @id = id })); }