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

            return(View(list));
        }
Exemplo n.º 2
0
        public IActionResult Index()
        {
            var list = _factorService.GetAll();

            return(View(list));
        }