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

            queryPcs = PCLogic.FilterPCs(queryPcs, searchString);
            return(SortList(queryPcs.ToList(), sortOrder));
        }
예제 #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));
        }