public ActionResult Delete(long id) { try { Fabricante fabricante = fabricanteServico.RemoverFabricante(id); TempData["Message"] = "Fabricante " + fabricante.Nome.ToUpper() + " foi removido."; return(RedirectToAction("Index")); } catch { return(View()); } }