//accion guardar public ActionResult guardar(DetalleAsignacion objdetalleasignacion) { if (ModelState.IsValid) { objdetalleasignacion.guardar(); return(Redirect("~/detalleasignacion")); } else { return(View("~/Views/detalleasignacion/agregareditar.cshtml", objdetalleasignacion)); } }
//Accion Guardar public ActionResult Guardar(DetalleAsignacion objDetalleAsignacion) { if (ModelState.IsValid) { objDetalleAsignacion.Guardar(); return(Redirect("~/DetalleAsignacion")); } else { return(View("~/Views/DetalleAsignacion/AgregarEditar.cshtml")); } }