// // GET: /Comments/AddComment public ActionResult AddComment() { Comment comment = new Comment(Request.Form["userName"].ToString(), Request.Form["userEmail"].ToString(), Request.Form["comment"].ToString()); return(View(WorkingWithComments.addComment(comment))); }
// // GET: /Comments/ public ActionResult Index() { return(View(WorkingWithComments.readComments())); }