public async Task <ActionResult> TrocaSenha(TrocaSenhaFormViewModel model) { if (!ModelState.IsValid) { return(View(model)); } try { _usuarioApp.TrocaSenha(model); return(RedirectToAction("TrocaSenhaOk")); } catch (Exception ex) { ModelState.AddModelError("Erro", ex.Message); return(View(model)); } }