Exemplo n.º 1
0
 public IEnumerable <PageWrapper> GetPages(string category)
 {
     return(category == null
         ? _engine.GetPages().ConvertAll(x => new PageWrapper(x))
         : _engine.GetPages(category).ConvertAll(x => new PageWrapper(x)));
 }