public IActionResult CargarPrecioHospedaje(HospedajePrecioModel model) { return(RedirectToAction("PreciosHospedaje", new { idCurso = model.IdCurso, idTipoHospedaje = model.TipoHospedajeSeleccionado })); }
public IActionResult PreciosHospedaje(HospedajePrecioModel model) { _servicio.GuardarPreciosHospedaje(model.IdCurso, model.TipoHospedajeSeleccionado, model.PrecioPorSemana); return(RedirectToAction("PreciosHospedaje", new { idCurso = model.IdCurso, idTipoHospedaje = model.TipoHospedajeSeleccionado })); }