// INDEX VIEW

        public async Task <IActionResult> Index()
        {
            // passa a lista como argumento no methodo view
            var list = await _vendedorServico.FindAllAsync();

            return(View(list));
        }
Example #2
0
        public async Task <IActionResult> Index()
        {
            var list = await _vendedorServico.FindAllAsync();

            return(View(list));
        }