public IActionResult AnalisaImagem(HomeViewModel homeModel) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } else { var model = new HomeViewModel() { FotoUrl = homeModel.FotoUrl }; List <Persona> percentuado = model.AnalisaEmocao(); model.PercentuaEmocao(percentuado); return(View(nameof(Index), model)); } }