Пример #1
0
        public ActionResult Guardar(Periodo model)
        {
            if (ModelState.IsValid)
            {
                model.Guardar();
                return(Redirect("~/Periodo"));
            }

            else
            {
                return(View("~/View/Periodo/AgregarEditar.cshtml", model));
            }
        }