Daniel Draper
Daniel Draper

Reputation:

MVC View Details and Edit

I have a view which displays data from the database like a blog post and at the bottom I would like the ability for a user to comment, how would one achieve this?

Upvotes: 0

Views: 256

Answers (1)

Garry Shutler
Garry Shutler

Reputation: 32698

By adding a form at the bottom of the view that will post to an action method. That action method will then process the form and save a comment against the blog post.

Upvotes: 1

Related Questions