Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ActionResult Consultar_Descuentos()
- {
- return PartialView();
- }
- [HttpPost]
- public ActionResult Consultar_Descuentos(Hotel hotel)
- {
- if (ModelState.IsValid)
- {
- ViewBag.descuentos = hotel.consultar_descuentos();
- }
- return PartialView();
- }
- public ActionResult Calcular_Precios()
- {
- return PartialView();
- }
- [HttpPost]
- public ActionResult Calcular_Precios(Hotel hotel)
- {
- if (ModelState.IsValid)
- {
- ViewBag.precios = hotel.consultar_precios();
- }
- return PartialView();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement