Example #1
0
 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());
     }
 }
Example #2
0
 public ForecastForm(ARMA ARMA)
 {
     InitializeComponent();
     this.ARMA = ARMA;
     StatProgWindow();
 }