// INDEX VIEW

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

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

            return(View(list));
        }