//
// GET: /Posts/
public ViewResult Index()
{
return View(postRepository.AllIncluding(post => post.Comments));
}
I want to modify the code above to display in reverse order by PublishDate column.
//
// GET: /Posts/
public ViewResult Index()
{
return View(postRepository.AllIncluding(post => post.Comments));
}
I want to modify the code above to display in reverse order by PublishDate column.
Examples can be found here: