public async Task <IActionResult> Novo(NovoFornecedorViewModel model) { if (ModelState.IsValid) { _svcFornecedor.CriarNovoFornecedor(new FornecedorBModel { RazaoSocial = model.RazaoSocial, NomeFantasia = model.NomeFantasia, Cpf = model.Cpf, Cnpj = model.Cnpj }); return(RedirectToAction(nameof(Index))); } return(View(model)); }