Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @{
- ViewBag.Title = "Index";
- }
- <h2>Index</h2>
- @foreach (var entry in ViewBag.allRecords)
- {
- <section class="contact">
- <header>
- <h3>@entry.Comment</h3>
- </header>
- <p>
- Posted by @entry.Name
- </p>
- </section>
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement