Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Html.ActionLink("Agregar Hotel", "CrEd", "Hoteles", new { bandera = 1, id = 0 }, new { @class = "btn btn-primary btn-lg active" })
- public ActionResult InsertaActualiza(bool bandera, int id)
- {
- //Aquí va toda la lógica para el INSERT o el UPDATE
- ViewBag.Bandera = bandera;
- return View();
- }
- @ViewBag.Bandera
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement