Beispiel #1
0
        public async Task <IActionResult> Novo()
        {
            var perfis = (await _repositorioPerfil.ObterTodosAsync());

            ViewBag.Perfis = new SelectList(perfis, "Id", "DescPerfil");
            return(View());
        }