public List <PackageContainer> LoadList(string sortOrder, string searchString) { IQueryable <PackageContainer> queryPcs = dummyPCs.AsQueryable(); queryPcs = PCLogic.FilterPCs(queryPcs, searchString); return(SortList(queryPcs.ToList(), sortOrder)); }
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)); }
public List <PackageContainer> SortList(List <PackageContainer> containers, string sortOrder) { return(PCLogic.SortPCs(containers, sortOrder)); }
public List <PackageContainer> SortList(List <PackageContainer> pcs, string sortOrder) { return(pcs = PCLogic.SortPCs(pcs, sortOrder)); }