Verify yourself to prove that you are not a ROBOT! After verification the page will apear. Thanks for understanding.
|Added at||2017-12-26 23:12|
I have developed a comments editing system in my blog application.
When a user clicks on the page of a select blog post, a @foreach loop iterates through that post's comments and displays each one in the view underneath the Post's main content.
Or is the best approach to produce unique Ids for each Comment? If so, what would be the best approach?
My code for your reference is below, though please note I am still new to web scripting and any pointers are appreciated.
THE VIEW (RAZOR):
ANSWER (thanks to Greg):