//
// GET: /Posts/
public ViewResult Index()
{
return View(postRepository.AllIncluding(post => post.Comments));
}
上記のコードを変更して、PublishDate 列の逆順で表示したいと考えています。
//
// GET: /Posts/
public ViewResult Index()
{
return View(postRepository.AllIncluding(post => post.Comments));
}
上記のコードを変更して、PublishDate 列の逆順で表示したいと考えています。
例はここにあります: