public ActionResult Post(Guid postId)
{
MagentaEntities context = new MagentaEntities();
var post = context.Post.FirstOrDefault(p => p.PostId == postId);
ViewBag.Post = post;
return View("~/Views/Forum/Post.cshtml");
}
@foreach (KeyValuePair<Guid, string> item in postsToHeaders)
{
<div>@Html.ActionLink(item.Value, "Post", new { id = item.Key })</div>
}