public List <PackageContainer> LoadList(string sortOrder, string searchString)
        {
            IQueryable <PackageContainer> queryPcs = dummyPCs.AsQueryable();

            queryPcs = PCLogic.FilterPCs(queryPcs, searchString);
            return(SortList(queryPcs.ToList(), sortOrder));
        }
Exemplo n.º 2
0
        public override List <PackageContainer> LoadList(string sortOrder, string searchString)
        {
            IQueryable <PackageContainer> containers = Db.PackageContainer
                                                       .Include(x => x.MetricModelStage);


            containers = PCLogic.FilterPCs(containers, searchString);
            return(SortList(containers.ToList(), sortOrder));
        }