示例#1
0
        // GET: Sell
        public ActionResult Index()
        {
            var list = factorService.GetAll()
                       .Select(x => mapperFacade.Map <Factor, FactorListModel>(x))
                       .ToList();

            return(View(list));
        }
示例#2
0
        public IActionResult Index()
        {
            var list = _factorService.GetAll();

            return(View(list));
        }