@model Project_Unite.Models.SearchResult @{ ViewBag.Title = "Search"; }

Search results

Here's what we found for that query.

Forum Topics

@foreach (var topic in Model.ForumTopics.OrderByDescending(x=>x.StartedAt)) { }
Topic Popularity Most Recent Post
@Html.TopicLinkFor(topic.Id)

by @Html.UserLink(topic.AuthorId) at @topic.StartedAt

@topic.Likes.Length @topic.Dislikes.Length @{ var mostrecent = topic.Posts.OrderByDescending(x => x.PostedAt).First(); }

By @Html.UserLink(mostrecent.AuthorId) at @mostrecent.PostedAt

Downloads

@foreach (var download in Model.Downloads.OrderByDescending(x => x.PostDate)) { }
Download Actions

@download.Name
...released by @Html.UserLink(download.ReleasedBy), released at @download.PostDate

@if (!string.IsNullOrEmpty(download.DevUpdateId)) { Watch dev update View details Download }