public ActionResult Details(int?id)
        {
            ServiceReserva _serviceReserva = new ServiceReserva();
            RESERVA        oReserva        = null;

            try
            {
                // Si va null
                if (id == null)
                {
                    return(RedirectToAction("ReservasAdmin"));
                }

                oReserva = _serviceReserva.GetReservaByID(id.Value);
                if (oReserva == null)
                {
                    //return RedirectToAction("Ubicaciones");
                    TempData["Message"]         = "No existen los registros solicitados";
                    TempData["Redirect"]        = "Reserva";
                    TempData["Redirect-Action"] = "ReservasAdmin";

                    return(RedirectToAction("Default", "Error"));
                }
                return(View(oReserva));
            }
            catch (Exception ex)
            {
                Log.Error(ex, MethodBase.GetCurrentMethod());
                TempData["Message"]         = "No existen los registros solicitados";
                TempData["Redirect"]        = "Reserva";
                TempData["Redirect-Action"] = "ReservasAdmin";

                return(RedirectToAction("Default", "Error"));
            }
        }
        public ActionResult Edit(int id)
        {
            ServiceReserva _serviceReserva = new ServiceReserva();
            RESERVA        oReserva        = null;

            try
            {
                // Si va null
                if (id == null)
                {
                    return(RedirectToAction("Servicios"));
                }

                oReserva = _serviceReserva.GetReservaByID(id);
                if (oReserva == null)
                {
                    TempData["Message"]         = "No existe la reserva solicitada";
                    TempData["Redirect"]        = "Reserva";
                    TempData["Redirect-Action"] = "ReservasAdmin";

                    return(RedirectToAction("Default", "Error"));
                }
                ViewBag.IdServicios = listaServicios(oReserva.SERVICIOS);

                return(View(oReserva));
            }
            catch (Exception ex)
            {
                Log.Error(ex, MethodBase.GetCurrentMethod());
                TempData["Message"]         = "Error al procesar los datos" + ex.Message;
                TempData["Redirect"]        = "Reserva";
                TempData["Redirect-Action"] = "ReservasAdmin";

                return(RedirectToAction("Default", "Error"));
            }
        }