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