示例#1
0
        public ViewResult ListParts(string searchline)
        {
            //var parts = _parts.Partslistsearch(searchline);
            List <SearchPart> parts = (List <SearchPart>)_parts.Partslistsearch(searchline);

            PartRepository partRepository = new PartRepository();

            partRepository.FillList((List <SearchPart>)parts);

            return(View(parts));
        }