public ActionResult EditaEmpresa(EMPRESA empresa) { if (ModelState.IsValid == true) { empresa.editaEmpresa(); return(RedirectToAction("Index")); } else { ViewBag.MenuPage = menu.listarMenu(Convert.ToInt16(Session["IdPerfil"])); return(View()); } }