public ActionResult Eliminar(int ID)
        {
            EF_Practice.Reserva Reserva = DAGeneral.listadoReserva().Where(x => x.CodReserva == ID).FirstOrDefault();
            bool exito = DAGeneral.EliminarReserva(Reserva);

            return(RedirectToAction("Index"));
        }
        public ActionResult Editar(EF_Practice.Reserva Reserva)
        {
            bool exito = DAGeneral.ActualizarReserva(Reserva);

            return(RedirectToAction("Index"));
        }
        public ActionResult Crear(EF_Practice.Reserva Reserva)
        {
            bool exito = DAGeneral.RegistrarReserva(Reserva);

            return(RedirectToAction("Index"));
        }
 public ActionResult Editar(int ID)
 {
     EF_Practice.Reserva Reserva = DAGeneral.listadoReserva().Where(x => x.CodReserva == ID).FirstOrDefault();
     return(View(Reserva));
 }