コード例 #1
0
 public DataSourceResult ReadUserArticles(UserIdentity user, DataSourceRequest request)
 {
     return(ArticleBiz.ReadUserContents(user.UserId, ContentType.Article)
            .OrderByDescending(a => a.PublishDate)
            .MapTo <ContentInfo5PM>()
            .ToDataSourceResult(request));
 }