/// <summary> /// Gets the pages by blog. /// </summary> /// <param name="blog">The blog.</param> /// <returns></returns> public List<BBlogPage> GetPagesByBlog( BBlog blog) { using (var datas = new BlogPageDataManager()) { return datas.GetBlogPagesByBlogID(blog.BlogID) .Select(x => { var a = Change(x); a.Blog = blog; return a; }) .ToList(); } }