예제 #1
0
 public ActionResult Save(PlanoInativacaoDto model)
 {
     if (ModelState.IsValid)
     {
         var PlanoInativacao = new PlanoInativacao();
         _PlanoInativacao.Save(model);
         return(RedirectToAction("List"));
     }
     else
     {
         return(RedirectToAction("Create", model));
     }
 }
예제 #2
0
 public PlanoInativacaoController()
 {
     _PlanoInativacao = new PlanoInativacao();
 }