Exemplo n.º 1
0
        public IActionResult Index()
        {
            // var actives = _ProductsManager.ListActiveProducts("name").ProjectTo<ProductModel>(Mappings.Mapper.ConfigurationProvider).ToList();
            var actives1 = _ProductsManager.ListActiveProducts("name").ToList();

            return(View());
        }
Exemplo n.º 2
0
        // GET: Product
        public ActionResult Index(string sort)
        {
            var actives = _ProductsManager.ListActiveProducts(sort).ToList();

            return(View());
        }