public static ToPageContentList ( IEnumerable |
||
entities | IEnumerable |
|
return | IEnumerable |
public IEnumerable <PageContent> FindPageContentsByPageId(int pageId) { List <PageContentEntity> entities = PageContents.Where(p => p.Page.Id == pageId).ToList(); return(FromEntity.ToPageContentList(entities)); }
public IEnumerable <PageContent> GetPageContentByEditedBy(string username) { List <PageContentEntity> entities = PageContents.Where(p => p.EditedBy == username).ToList(); return(FromEntity.ToPageContentList(entities)); }
public IEnumerable <PageContent> AllPageContents() { List <PageContentEntity> entities = PageContents.ToList(); return(FromEntity.ToPageContentList(entities)); }