public ActionResult EditaArma(ARMA arma) { if (ModelState.IsValid == true) { arma.editaArma(); return(RedirectToAction("Index")); } else { ViewBag.MenuPage = menu.listarMenu(Convert.ToInt16(Session["IdPerfil"])); return(View()); } }
public ForecastForm(ARMA ARMA) { InitializeComponent(); this.ARMA = ARMA; StatProgWindow(); }