示例#1
0
 //SUpprime une réservation en fonction d'un id
 public static void DeleteReservationRoom(int IdReservation)
 {
     RoomReservationDB.DeleteReservationRoom(IdReservation);
     ReservationDB.DeleteReservation(IdReservation);
 }
示例#2
0
 //récupère une roomReservation en fonction de l'id de la chambre et de la réservation
 public static RoomReservation GetRoomReservationByIdRoomIdReservation(int idRoom, int idReservation)
 {
     return(RoomReservationDB.GetRoomReservationByIdRoomIdReservation(idRoom, idReservation));
 }
示例#3
0
 //Ajoute une nouvelle réservation
 public static void NewRoomReservation(int IdReservation, int IdRoom, int PriceIncreased)
 {
     RoomReservationDB.NewRoomReservation(IdReservation, IdRoom, PriceIncreased);
 }
示例#4
0
 //Récupère toutes les roomReservations
 public static List <RoomReservation> GetAllRoomReservation()
 {
     return(RoomReservationDB.GetAllRoomReservation());
 }