Esempio n. 1
0
        public IActionResult Index()
        {
            IEnumerable <ImportDetail> importDetails;

            importDetails = _importDetailRepository.GetAll();

            var importDetail = new ImportDetailViewModel()
            {
                ImportDetails = importDetails
            };


            return(View(importDetail));
        }
 public IEnumerable <ImportDetail> GetAll()
 {
     return(_importDetailRepository.GetAll());
 }